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 07-03-2004, 02:38 AM   #1
LQ Newbie
Registered: Mar 2004
Location: Romania
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
Restricting users to their home folder

I'd like to restrict the users to their home folder only but I couldn't find a clear tutorial on how to do this. I read somewhere that it can be done by appending /./ to their home path in /etc/passwd. I did this and users could still navigate higher than their home folder.
Old 07-03-2004, 05:00 AM   #2
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
What your looking for is called chroot'ing. Do a search on this site for chroot or try google. I'd tell you how to do it but I haven't done anything like that in a while and I don't remember the steps exactly.
Old 04-08-2009, 11:47 AM   #3
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Rep: Reputation: 37
May be you can try `jailkit`


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
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM
Home Folder for new users CatSC Red Hat 3 11-29-2003 04:21 PM
Restricting FTP Users to their home dir in vsftpd ~ForgottenFlux~ Linux - Software 2 09-03-2003 07:54 PM
vsftpd: restricting users to home dirs groovin Linux - Security 6 11-25-2002 04:20 PM
restricting users to one folder flip-x Linux - Security 0 02-18-2001 05:37 PM > Forums > Linux Forums > Linux - Newbie

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