LinuxQuestions.org
Register a domain and help support LQ
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 10-22-2010, 10:36 PM   #1
leejohnli
Member
 
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, 12:36 PM   #2
spiderbatdad
Member
 
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: https://wiki.ubuntu.com/DebootstrapChroot
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.
 
  


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


All times are GMT -5. The time now is 11:46 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration