Psuedo root (40 Views)
Frequent Advisor
Posts: 54
Registered: ‎03-23-2003
Message 1 of 3 (40 Views)

Psuedo root

I have a strange question which i think i know answer to but thought i would see what other people do.
I have a psuedo root account on my dev box which i use to log in, Problem is that for audit/tracing purposes it doesn't show my username just uid as 0 which could be me or root itself.
is there a way of giving myself root priviledges but still maintaining a independant UID.
Honored Contributor
Posts: 2,701
Registered: ‎05-11-2000
Message 2 of 3 (40 Views)

Re: Psuedo root

Maybe you're asking for something like sudo?
"Downtime is a Crime."
Honored Contributor
Posts: 6,795
Registered: ‎02-18-2002
Message 3 of 3 (40 Views)

Re: Psuedo root

Hi Andy,

I agree. sudo is the proper tool for this job.
System tracks activity by UID & if two users share UID, the first user with it in the passwd file will be identified or even just the UID.
So get sudo, login as yourself & sudo important activities.
Or at least su - root before running root-level commands. This will log all activity properly as well as sudo.

PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.