View Single Post
  #1  
Old 31st October 2007, 22:46
gral gral is offline
Member
 
Join Date: Jan 2007
Location: Argentina
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to gral
Unhappy Chroot ssh login problem

Hello everyone, im having troubles installing a ssh chrooted envioroment; at first look everything works fine, doing a "chroot /chroot/ /bin/sh" i enter to the chroot system Ok.

But loggin via ssh to the account i enter to the home directory config in the passwd but the user is not chrooted, i can see the system normally..

here are my passwd files;

/etc/passwd

gjail:x:603:603::/chroot/./home/gjail/:/bin/sh

/chroot/etc/passwd

gjail:x:603:603::/home/gjail:/bin/sh


Any tip or clue will be very helpfully!!


Best Regards!
Reply With Quote
Sponsored Links