LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-11-2010, 07:44 PM   #1
Dig
Member
 
Registered: Nov 2009
Posts: 40

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, 09:38 PM   #2
mjmwired
Member
 
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):

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.

Last edited by mjmwired; 12-11-2010 at 09:45 PM.
 
Old 12-13-2010, 04:01 PM   #3
Dig
Member
 
Registered: Nov 2009
Posts: 40

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
 
  


Reply


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 04:28 AM
Need to chroot bash users to thier home directory coloradopaul Linux - Security 1 09-16-2004 11:51 PM
How to bind users to their home directories? trees Linux - Security 6 09-16-2004 06:32 PM
chroot or keeping users to /home techrolla Linux - Security 9 06-22-2004 06:18 AM
how would i safely lock users to thier home dir? f1uke Linux - Security 2 07-22-2003 02:23 AM


All times are GMT -5. The time now is 11:37 PM.

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