LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help with chroot and path (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-chroot-and-path-218001/)

NonSumPisces 08-15-2004 04:18 PM

help with chroot and path
 
How do I chroot a certain user to a specific dir? I also need to remove chroot and chmod from that users path, as well as add two or three commands to his path.

Mara 08-15-2004 04:54 PM

Here's a HOWTO that may be useful: http://www.tjw.org/chroot-login-HOWTO/ (for SSH, but it's similar in your case).
When chrooting an user you need to copy all the executables the user should have access to a directory inside the chrooted environment. You'd need also to set PATH.

NonSumPisces 08-15-2004 04:56 PM

Thx alot.


All times are GMT -5. The time now is 07:39 PM.