Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[CHROOT] for secure computer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
bob1977
Guru
Guru


Joined: 16 Mar 2004
Posts: 387

PostPosted: Tue Apr 06, 2004 6:49 pm    Post subject: [CHROOT] for secure computer Reply with quote

Hi everybody,

I want to secure my gentoo by creating another linux system ( which can be gentoo) and chrooting into it. The last one would only go to the internet and couldn't access the other partitions.
Is it possible to do this. Is it secure and how to do?

If you have some links and even some explanation, I would be happy.
Back to top
View user's profile Send private message
ultraslacker
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2002
Posts: 124
Location: lazy fairy land

PostPosted: Tue Apr 06, 2004 7:13 pm    Post subject: Reply with quote

chroot jails are used more often for certain daemons such as httpd and named. Creating a functional linux subsystem in a chroot means that the chroot is trivial to break out of. Not worth the effort, and your time is better spent hardening the linux system.
Back to top
View user's profile Send private message
bob1977
Guru
Guru


Joined: 16 Mar 2004
Posts: 387

PostPosted: Tue Apr 06, 2004 7:25 pm    Post subject: Reply with quote

What does-it mean that the chroot is broken? Is-it possible for someone who broke the chroot to go into original system or even modifying the filesystem if access to other partition is disabled via fstab, fdisk?
So, What can be done if the chroot is only created for accessing internet ( http, ftp, rsync.....)?

Thanks for you response.
Back to top
View user's profile Send private message
primero.gentoo
Guru
Guru


Joined: 23 Dec 2003
Posts: 402

PostPosted: Tue Apr 06, 2004 7:56 pm    Post subject: Reply with quote

chroot is not "security" and sometime can give you a false security feeling that make you leave open something else.

I always think that the only one security in a normal environment is about permission.
Take a very deep care about your permissions, think about ACL if your FS support and you need more granular protection.
I think that this is the most fast way to get your system more secure.

Then think about something deeper like LIDS and GrSecurity ... but you'll need time to spend :)

I'm not so experienced with these 2 solution , but i think that here in the forum you can find usefull information.

After that chroot can be a good security addiction.

Bye
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum