Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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!