Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-31-2006, 04:46 PM   #1
Registered: Dec 2006
Posts: 59

Rep: Reputation: 15
Jail/chroot type thing?


I am looking for a way to stop a user being able to see anything other then the contents of 'there' file.
For example i want to have a file /www and then in this have a lot of other files.
I need a way for a user to be able to see the contents of say /www/site1 but not anything else in /www or anywhere else! In this situatin it will be nessesary for apache to reed any of them though.

I did some resurch and found a lot on chroot and setting users in jail, but it seemed that perhaps this was a little more complex then i need? All the users need to be able to do is read, write and delete the contents of there folder?

Any help would be much appreciated!

Old 12-31-2006, 09:59 PM   #2
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 76
chroot is what you need, but plain old chroot might be daunting to a beginner. I think there are nice packages like jailkit which make the job easier for the administrator. This sort of mechanism is often used for remote ssh access, cvs access, and webserver access to untrusted users.

I think you meant “their”


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 Gimpy Linux - Software 10 05-07-2010 01:30 PM
Chroot jail pachanga Linux - General 12 09-26-2008 05:15 AM
Jail and chroot rogk Linux - Security 2 10-16-2005 02:20 AM
chroot jail etc. f1uke Linux - Security 5 08-24-2005 03:12 AM
chroot jail simon Linux - Security 3 08-05-2001 08:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:55 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