On Wed, 2002-09-11 at 19:59, ebinc wrote:
> Hi
> Is their somthing I can type in after I remotly log in as su, that will
> display if anybody else has root privalige
> or users in general
> Thanks Ed
> 

if you are wanting to see who is logged in you can do

w

if you want to see processes running and the user they are running under
try

ps axfu

this would show you if a user was su'd to root where as w will not.


the file /etc/passwd is readable by everyone and anyone with a userid of
0 has root privilages I think.  I have never tried this but seems like I
read that you could change a userid to 0 and have an effective root.


HTH
Bret





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to