LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-03-2004, 02:38 AM   #1
supervillan
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
Crashed_Again
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
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration