- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root user list
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2009 08:50 PM
04-07-2009 08:50 PM
Root user list
Is there is a command-line or script available which can generate a report of all accounts with root user equivalent privileges in HP-UX setup, with added information on which machine the id resides., etc?
Thanks,
Venkatesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2009 09:11 PM
04-07-2009 09:11 PM
Re: Root user list
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2009 09:17 PM
04-07-2009 09:17 PM
Re: Root user list
Thanks,
V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2009 09:19 PM
04-07-2009 09:19 PM
Re: Root user list
Every user can issue the "su" command; if he knows the password he will be root then.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2009 09:34 PM
04-07-2009 09:34 PM
Re: Root user list
Administrator will give the access to set the "su" to root or other group to logon onto get the access. I would like to know in single server there are more than 1000 users created. Get the information those are previlize to su for root or equilent to root. Is there any command line to display to get the all users information equal to root access only.
Regards
Dharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2009 09:39 PM
04-07-2009 09:39 PM
Re: Root user list
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2009 10:26 PM
04-07-2009 10:26 PM
Re: Root user list
Any (all) user are in /etc/passwd file can do "su"
but to access the root prompt he or she has to give the root passwd.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2009 12:49 AM
04-08-2009 12:49 AM
Re: Root user list
-r-sr-xr-x 1 root bin 51872 Aug 3 2005 /usr/bin/su
You should check /etc/default/security - the option that can be enforced is that users must be a member of a certain group to su to root:
# Users attempting to su to root must be a memeber
# of this group
# SU_ROOT_GROUP=wheel
An additional approach if you're unsure exactly who knows the root password, would be to check /var/adm/sulog (and syslog if you want) on the systems and see who has been su'ing to root.
HTH, Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2009 02:33 AM
04-08-2009 02:33 AM
Re: Root user list
I would suggest changing the root password to a completely random, very secure one, and then seeing who comes and asks for the new password. Anyone who does not ask, does not know it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2009 04:39 AM
04-08-2009 04:39 AM
Re: Root user list
If there is any doubt what so ever, change the root password and monitor syslog to see who's attempting root access:
grep su: /var/adm/syslog/syslog.log | tail -4
Apr 6 16:02:30 myhost su: + ta root-myuser
Apr 7 08:43:19 myhost su: + 1 myuser-root
Apr 7 08:43:28 myhost su: + 1 myuser-oraf1x
Apr 7 22:20:15 myhost su: + 2 myuser-root
If I don't think ${myuser} should have access to root, I would be very concerned at those messages.
That type of monitoring just begs to be automated. You can easily generate a script to report who's attempting access, and who succeeded.
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2009 05:45 AM
04-08-2009 05:45 AM
Re: Root user list
With regard to examining the '/var/adm/sulog' for activity, be aware that on most systems the '/sbin/init.d/clean_adm' script will move the 'sulog' to 'OLDsulog' following a reboot. You can disarm this by appropriately editting the '/etc/rc.config.d/clean' file.
Regards!
...JRF...