Operating System - HP-UX
1748172 Members
4137 Online
108758 Solutions
New Discussion

Re: su restrictions on HPUX 11.23

 
Dennis Handly
Acclaimed Contributor

Re: su restrictions on HPUX 11.23

The manager tells his employees that if you do X, it is grounds for dismissal.

JohnDSP
Occasional Visitor

Re: su restrictions on HPUX 11.23

Please check the file /var/adm/sulog

This logs information everytime su command is ran

 

Thanx

John

James R. Ferguson
Acclaimed Contributor

Re: su restrictions on HPUX 11.23

Hi:

 

First, having multiple 'root' (UID=0) accounts is extremely poor security and second, quite dangerous if you (or your successor) forget that the alternate account is really a root one and remove files "belonging" to it. 

 

Unix doesn't care what you call the account.  What matters is that the account maps to UID=0.  This is why you can't get your 'su' to prompt for a password.  As far as the software is concerned, you *are* root.

 

I suggest that you install 'sudo'.  This tool allows you to confer root privileges, to users specified in the 'sudoers' configuration file and allows you to track activity.  You can obtain a binary for installation from the HP-UX Porting Centre:

 

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.8.0/

 

Regards!

 

...JRF...

Hakki Aydin Ucar
Honored Contributor

Re: su restrictions on HPUX 11.23

Dennis Handly
Acclaimed Contributor

Re: su restrictions on HPUX 11.23