View Single Post
  #5  
Old 14th February 2011, 12:13
denmaddog denmaddog is offline
Junior Member
 
Join Date: Feb 2011
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If I change the shell from /bin/false to /usr/sbin/jk_chrootsh in /ets/passwd I got this in /var/log/auth.log

Feb 14 11:10:34 www sshd[10702]: Accepted password for testuser from 192.168.13.202 port 3882 ssh2
Feb 14 11:10:34 www sshd[10702]: pam_unix(sshd:session): session opened for user testuser by (uid=0)
Feb 14 11:10:34 www jk_chrootsh[10770]: now entering jail /var/www/clients/client1/web3 for user testuser (5006)
Feb 14 11:10:34 www jk_chrootsh[10770]: abort, failed to get user information in the jail for user ID 5006: Success, check /var/www/clients/client1/web3/etc/passwd
Feb 14 11:10:34 www sshd[10702]: pam_unix(sshd:session): session closed for user testuser

Any idea?
Reply With Quote