Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-11-2010, 06:44 PM   #1
Registered: Nov 2009
Posts: 50

Rep: Reputation: 1
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 ///
Old 12-11-2010, 08:38 PM   #2
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
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.

Last edited by mjmwired; 12-11-2010 at 08:45 PM.
Old 12-13-2010, 03:01 PM   #3
Registered: Nov 2009
Posts: 50

Original Poster
Rep: Reputation: 1
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
chroot jail with rssh / restricting users to individual directories rob_xx17 Linux - Security 3 01-23-2006 03:28 AM
Need to chroot bash users to thier home directory coloradopaul Linux - Security 1 09-16-2004 10:51 PM
How to bind users to their home directories? trees Linux - Security 6 09-16-2004 05:32 PM
chroot or keeping users to /home techrolla Linux - Security 9 06-22-2004 05:18 AM
how would i safely lock users to thier home dir? f1uke Linux - Security 2 07-22-2003 01:23 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration