Thread: ssh chrooted
View Single Post
  #9  
Old 11th May 2006, 23:07
unkn0wn unkn0wn is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i made new init script and start new sshd chrooted and its ok
but user testuser cant log in its says:

Code:
Password:
/bin/bash: No such file or directory
Connection to localhost closed.
i copy bin in /home/chroot

ls /home/chroot/
bin dev etc home lib sc usr


ls /home/chroot/bin/
bash ls mkdir mv ping pwd rm


entry in /etc/passwd

testuser:x:1003:100:testuser:/home/chroot/./home/testuser:/bin/bash
Reply With Quote