LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-06-2004, 05:17 PM   #1
lildrummerboy
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 1
Posts: 21

Rep: Reputation: 15
chroot newb


I am a newb to chrooting, and quite honestly it might even be over my head but if anyone could help me with some good docs, (especially those put out there for newbs) especially for fedora core I am running FC1, and am having difficulty finding some good documentation on it, googled but I don't find to much recent, I am sure this is plenty out there but I am unfirmiliar with it.
 
Old 08-06-2004, 05:53 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
chroot can be used with many applications... what are you interested in doing with chroot??

http://www.linuxsecurity.com/feature..._story-99.html
 
Old 08-06-2004, 09:52 PM   #3
lildrummerboy
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 1
Posts: 21

Original Poster
Rep: Reputation: 15
I have not read that page yet, but to let you know I want to chroot a few users into home directory so that they can't work outside of them, they don't need to do anything special, I want to figure out how to do this because my step-brother wants me to host a web site for him but I want to make sure that if he has a weak password and somebody gets in (though this is unlikely being on a network if he decides he wants on remotly though...) that they can't do anything, as well as make sure that he doesn't try to do anything funny, (we are both 16) and though he knows absolutly nothing about linux, that doesnt mean you can't unintentinally screw something up, I will be using ssh if I do host a site for him and let him into my system from his network computer. Anyways I suppose I also would like to learn how to chroot just for the expierience, summer breaks almost over so I am trying to cram in as much as possable b4 the school year. I think that this kind of chroot should be fairly easy (from what I read) since it should just be dropping and grabbing files, so they will not need to access many applications to run minimally. Anyways if you have any documentation on ssh on fc1 specifically I would appreciate it and I am going to read up on your article there, before I think about going to sleep for the night. I will post again if I find a solution to my issue somewhere, also chroot preferably compatiable with ssh1/2 because I have read this can be an issue.

Last edited by lildrummerboy; 08-06-2004 at 09:58 PM.
 
Old 08-06-2004, 10:09 PM   #4
lildrummerboy
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 1
Posts: 21

Original Poster
Rep: Reputation: 15
I think the documentation given is older, either that or the sites are down, many links I found to be broken, but the actual article I read was quite interesting, I will look a little further into it, again any documentation on doing this to ssh in fc1 would be cool, if I learn to chroot peoples home directories will i learn to chroot just about anything I want? because I think that would be a large accomplishment for me.
 
Old 08-06-2004, 10:34 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by lildrummerboy
though he knows absolutly nothing about linux, that doesnt mean you can't unintentinally screw something up
actually, it DOES... the only way he can screw something-up is if he knows the root password, or if he finds a security hole and exploits it...
 
Old 08-06-2004, 11:04 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Here is a how-to called "Chrooting Apache"
http://www.linux.com/article.pl?sid=04/05/24/1450203

Here is a link to a 'chroot-login howto':
http://kegel.com/crosstool/current/d...gin-howto.html

There are lots of chroot-bind howtos. Besides googling ( is that a verb? ) a good starting point to look for documentation is the Linux Documentation Project website (www.tldp.org).
 
  


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
sudo /usr/bin/chroot /home/chroot /bin/su - xxx| /bin/su: user xxx does not exist saavik Linux - General 3 07-04-2007 10:30 AM
Suse Newb: Not Linux Newb rodericj SUSE / openSUSE 9 03-25-2005 10:03 AM
The first step to ascending newb status, acknowledging you're a newb :P LordRaven LinuxQuestions.org Member Intro 1 08-24-2004 05:05 PM
chroot how much? ixion Linux - Security 4 05-29-2003 04:28 PM
Better than chroot? radnix Linux - Security 5 12-20-2002 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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