Review your favorite Linux distribution.
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 10-22-2010, 09:36 PM   #1
Registered: Sep 2010
Posts: 66

Rep: Reputation: 2
chroot on home directory

Hi guys,
is there a way where i can chroot their user home directory, lets say the user login on linux box /home/user, what i wanted to do is to chroot /home/user where user won't be able to browse the filesystem which is /. Tnx
Old 10-23-2010, 11:36 AM   #2
Registered: Nov 2009
Location: mote of dust suspended in a sunbeam
Distribution: Arch Linux / Ubuntu 10.10
Posts: 40

Rep: Reputation: 17
The user account needs access to the root file system for...everything. One option to accomplish what you are talking about might be debootstrapping:
I have not tried this with your application in mind. If you were to try, and following the guide, you would change the word "hardy" to coincide with your present release...for example "maverick" or "lucid."
Good luck. What you want to do sounds like it would be easy, but in truth, I don't believe it is.


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
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
chroot sftp - restritct home directory access ctb123 Linux - Security 1 12-22-2006 08:15 AM
Need to chroot bash users to thier home directory coloradopaul Linux - Security 1 09-16-2004 10:51 PM
vsftpd home directory and chroot avante Linux - Networking 4 03-17-2003 01:56 AM
Chroot (FTP,Home Directory) Thanewbie Linux - Security 2 05-14-2001 02:49 AM > Forums > Linux Forums > Linux - Newbie

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