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!
|
Recent comments
11 hours 57 min ago
12 hours 3 min ago
17 hours 1 min ago
23 hours 42 min ago
1 day 31 min ago
1 day 1 hour ago
1 day 6 hours ago
1 day 12 hours ago
1 day 16 hours ago
1 day 18 hours ago