Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
root security
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
cascamorto
Guru
Guru


Joined: 28 Feb 2005
Posts: 373

PostPosted: Mon Apr 04, 2005 7:45 am    Post subject: root security Reply with quote

can i block root from accesing internet appart from emerges? so that if someone gains root access to my pc they can't connect it? and is there a way to password protect portage?
_________________
The real world isn't what you thought it was going to be?
re-emerge it with gentoo linux!
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Mon Apr 04, 2005 8:01 am    Post subject: Re: root security Reply with quote

cascamorto wrote:
can i block root from accesing internet appart from emerges? so that if someone gains root access to my pc they can't connect it?
No, unless you give up the traditional concept of root altogether and use rsbac-sources. It's difficult though. Take a look at http://www.rsbac.org/ for more info.
cascamorto wrote:
and is there a way to password protect portage?
Er, what? Password-protect exactly what? The emerge binary? Access to the /usr/portage directory? The Gentoo mirrors?
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
cascamorto
Guru
Guru


Joined: 28 Feb 2005
Posts: 373

PostPosted: Mon Apr 04, 2005 9:37 am    Post subject: Reply with quote

I want to make it so u can't use emerge or similar things enless u insert a passsword so that theres less probability of emerging programs without it being me...
_________________
The real world isn't what you thought it was going to be?
re-emerge it with gentoo linux!
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Mon Apr 04, 2005 9:45 am    Post subject: Reply with quote

cascamorto wrote:
I want to make it so u can't use emerge or similar things enless u insert a passsword so that theres less probability of emerging programs without it being me...
It would be theoretically possible, by writing a wrapper script for emerge, but what's the point? root can do pretty much anything - that wouldn't stop someone to install software the manual configure - make - make install way...
Once an attacker has successfully gained access to your system you can't trust anything any more anyway.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
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