Hi all,
I have setup a working chroot SSH login on a slackware 12.2 (32bit).
previous source: (think the site is down now)
http://www.tjw.org/chroot-login-HOWTO/
I am trying to setup the same on a newer Slackware 14.0 (64bits)
I copy the lib to lib64 for 64 bits library.
I also did "ldd /bin/bash" (ls/cp/etc) and copy all the libraries.
My authentication was completed but then I got auto-disconnected.
There is no .profile or logout on my login script.
When I use Bitvise, the messages I got was:
Attempting password authentication.
Authentication completed.
Terminal channel opened.
Terminal channel: Received exit code 1.
Terminal channel closed by server.
On my secure log, it only show the connection, no error.
On my messages log, it only show the normal connection.
sshd[30312]: Accepted password for <user> from <ipaddress> port 51097 ssh2
Did I missed something between 12.2/14.0 and 32/64 bits?
Appreciate any guidance or help.
Thanks.