LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Chroot (http://www.linuxquestions.org/questions/linux-general-1/chroot-65151/)

chamkila 06-12-2003 07:21 AM

Chroot
 
I am trying to add a user to the chroot first I add it to the local system with adduser then change the password
with passwd. Then I add the user to chroot with addjailuser, then I change /etc/passwd so that the new user home dir
is /home/chroot/home/usertest su usertest I am not in the chroot what I am doing wrong


I have also tried log in with the test user via ssh I still not in chroot.


thanks

unSpawn 06-13-2003 06:46 AM

Why not use chroot jail, makes setting up a chroot easier, but if you're chrooting users only for sshd then this is a good solution. Patches cleanly up to OpenSSH-3.61p1.


All times are GMT -5. The time now is 09:27 AM.