Operating System - HP-UX
1834597 Members
4142 Online
110069 Solutions
New Discussion

Root Password Privilege for System Adm. Logins

 
Brett A. Weber
Occasional Contributor

Root Password Privilege for System Adm. Logins

Hello Unix-Techies,

I would like to setup my login to become
Subsitute User for Root by asking for my
password and not the root password.

Years ago I was on unix system where there
was a .guru file in the root directory
which listed all logins who could become root
subsitute superuser. It was executed by
%SU su root
password for jsmith:

Then jsmith could become root and there was
an audit trail everytime jsmith became root
and jsmith never needed to know the root
password.

I believe this might have been a script
invoked by the "SU" in SU su root command,
and the .guru file was probably an alias
file, though I am not really 100% sure.

I'd also be interested in giving more
permission to my account so that I need to
become root less often. Giving myself more
groups doesn't seem to do the trick.

I found a work around by giving my login
a unix id of 0, but this is not really what
I want. Then there are two unix id's root
and my login with userid 0. I don't see this
as a solution.

I cannot find any documentation on how to set
this up. Any help would be greatly appriecate.

TIA for you help,
Laurie (email: labrown@statestreetkc.com
no attachments please)
1 REPLY 1
MARTINACHE
Respected Contributor

Re: Root Password Privilege for System Adm. Logins

Hi,

Have a look at sudo, it will certainly help you.

Information : http://www.courtesan.com/sudo/

Download : http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.2b1/

Regards,

Patrice.
Patrice MARTINACHE