-   Linux - Server (
-   -   Chroot users to thier home directories (

Dig 12-11-2010 07: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 09:38 PM

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

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 04: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 06:57 AM.