1753378 Members
5219 Online
108792 Solutions
New Discussion юеВ

Re: Account information

 
UXisCool
Advisor

Account information

How can I easily pull user account information such as, information on password last change date, password expiration, group details and account privileges?
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: Account information

Trusted? If so, look at getprpw.

Untrusted? Probably easiest with SAM.


Pete

Pete
UXisCool
Advisor

Re: Account information

It's a trusted system and has 11.0 of HP-UX. It doesn't have the getprpw command.
Yashwant
Valued Contributor

Re: Account information

check with /usr/local/bin/getprpw
UXisCool
Advisor

Re: Account information

/usr/local/bin/getprpw didn't work either.
E.A
Occasional Advisor

Re: Account information

try /usr/lbin/getprpw
Change is the transformation of what is already known
Yashwant
Valued Contributor

Re: Account information

sorry for my earlier comment..

correct path is /usr/lbin/getprpw..

Nyck_1
Super Advisor

Re: Account information

try logins -x, it covers most of what you are after.
Sp4admin
Trusted Contributor

Re: Account information

Hello,

As stated above you can use the "getprpw" command.

getprpw -l userid

sp,