1751735 Members
5759 Online
108781 Solutions
New Discussion юеВ

Psuedo root

 
system administrator_15
Frequent Advisor

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.
2 REPLIES 2
Cheryl Griffin
Honored Contributor

Re: Psuedo root

Maybe you're asking for something like sudo?
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.7p5/
"Downtime is a Crime."
Jeff Schussele
Honored Contributor

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.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!