View Single Post

  #3 (permalink)  
Old 12-28-2005
Menno Duursma
 
Posts: n/a
Default Re: Question about SELinux and root privs

On Wed, 28 Dec 2005 10:37:35 -0500, Pat Farrell wrote:
> binary-nomad@hotmail.com wrote:
>> I have a simple question - how do I make sure that if someone gets into
>> my machine as root, on a Fedora 4 machine with SELinux enabled, they
>> can't do any damage?

>
> You can't.
> If you are logged in as root, you own the machine.


Well the "root" username is just that, hence:

usermod -l admin root
useradd -g users root

> Don't let the bad guys do that.


I presume you mean: if(geteuid())

--
-Menno.

Reply With Quote