Operating System - HP-UX
1834232 Members
2267 Online
110066 Solutions
New Discussion

how to find passwd ageing in HPUX

 
bibith dathan
Advisor

how to find passwd ageing in HPUX

HI All

In my setup i have around 70 hpux server running with OS 11.00 ,11.11 ,11.23 and 11.31 . Now as part of audit i need to find out the password ageing details of all the users including system accounts in all the servers . Details should include information like min days , warn days and max days

please suggest me a faster way to do this ,its difficult to login to all these servers and find details useing passwd -s command .

also i need to know where all these informations stored , in solaris and linux i know this informations are stored in /etc/shadow but i did'nt find any shadow files in hpux .

thanks in advance

Bibith Dathan
3 REPLIES 3
Anshumali
Esteemed Contributor

Re: how to find passwd ageing in HPUX

Use the attached script ... shared in forums as well by Steve

If user level information is needed, you need to script /usr/lbin/getprpw (user) for every entry in passwd file
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Keith Jahn
Advisor

Re: how to find passwd ageing in HPUX

For a non-secure HPUX system the info missing from "passwd -s" is available from the "logins" command.

man logins

e.g. Human readable format:
logins -xt

e.g. Machine readable format:
logins -xto
Steven E. Protter
Exalted Contributor

Re: how to find passwd ageing in HPUX

Shalom,

In some circumstances passwd -sa provides sufficient information.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com