System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Find account/user with password in HPUX

 
SOLVED
Go to solution
Highlighted
Occasional Contributor

Find account/user with password in HPUX

Hello, I have a question. I need to check the list of account/user configured with password in HPUX server. Is there any other way than checking in /tcb/files/auth/ or using passwd -s ? Like in redhat, we can see all the list in /etc/shadow , can we do that in HPUX? Servers I'm currently working on are in trusted mode. Sorry, I'm very very new with HPUX environment. 

3 REPLIES 3
Highlighted

Re: Find account/user with password in HPUX

Long time since I looked at this and don't have a system to look at - if you are in trusted mode then possibly getprpw may give you waht you require - if just in standard mode on 11iv3 with security extensions, try userstat


I am an HPE Employee
Accept or Kudo
Highlighted
Honored Contributor
Solution

Re: Find account/user with password in HPUX

You can use the logins command:

It can show duplicate UID users (security risk), - logins -d
users with no password (also a risk) - logins -p
all users with detailed info - logins -x



Bill Hassell, sysadmin
Highlighted
Occasional Contributor

Re: Find account/user with password in HPUX

Thank you. What I'm looking for solved with the logins -x command.