LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Chroot users to thier home directories (http://www.linuxquestions.org/questions/linux-server-73/chroot-users-to-thier-home-directories-849700/)

Dig 12-11-2010 06:44 PM

Chroot users to thier home directories
 
how can i chroot group of users to thier home directories and they have ssh access on RHEL 5.5 .. i tried many tuts but it was about chroot services ///

mjmwired 12-11-2010 08:38 PM

I used this in both Fedora and CentOS (which are similar to RHEL):

http://olivier.sessink.nl/jailkit/

I would first test it on a test machine and not production.

EDIT: It looks like jailkit is already packaged in the RPMForge repository which should be compatible with RHEL.

Dig 12-13-2010 03:01 PM

Many Thanks mjmwired , it works just great now .... but am facing two problem right now and appreciating if anyone tested it before , i wanna allow screen without give full permission to the mounted pts/x , the second problem when users execute they can't see any output although there are connections on the servers ... i will dig it more tomorrow but it will be great if any one share his experience here


All times are GMT -5. The time now is 10:13 AM.