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.
|
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. |
Thx alot.
|
All times are GMT -5. The time now is 07:39 PM. |