Operating System - HP-UX
1821066 Members
2570 Online
109631 Solutions
New Discussion юеВ

Password expiration on trusted systems

 

Password expiration on trusted systems

I've been asked to provide a list of users with passwords that will soon expire. I know that it must exist out there, can you help me out?
7 REPLIES 7
whiteknight
Honored Contributor

Re: Password expiration on trusted systems


hi William,

There is an article in ITRC giving you the sample script to do so.

Trusted system - How to find user's passwords about to expire

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00905799-2

WK
Problem never ends, you must know how to fix it
Arturo Galbiati
Esteemed Contributor

Re: Password expiration on trusted systems

If you have pwage command on your UNIX box, simply type pwage.

If you want I have a script to incapsulate teh cmmand to provide better error control.
Let me know if you need it.
Rgds,
Art

Re: Password expiration on trusted systems

Yes, any help is appreciated. The first response with the link to the docid - the document has several unresolved procedures, not the least of with is 'listusers'- where is that? How do I make it work without the rest of the story? Where do I obtain the rest of the story? Second response - yes please send me your script with some explanation about how it's supposed to work! I am a techie of sorts, but I'm not a script kittie or clairvoyant!
Arturo Galbiati
Esteemed Contributor

Re: Password expiration on trusted systems

Hi William,
sorry for late reply.
I attached the script check_pwage.ksh.
It check the password expiration for a single user on the system. If you need script for multiple user and /or on remote system let me know and I wrote it for you.
HTH,
ARt
Arturo Galbiati
Esteemed Contributor

Re: Password expiration on trusted systems

Hi William,
sorry for late reply.
I attached the script check_pwage.ksh.
It check the password expiration for a single user on the system. If you need script for multiple user and /or on remote system let me know and I wrote it for you.
HTH,
ARt
Arturo Galbiati
Esteemed Contributor

Re: Password expiration on trusted systems

Hi Bill,
this is another script which not use pwage.
Check_Password_Aging.ksh uses a configuration file Check_Password_Aging.dat. I'll post it later.
HTH.
ARt
Arturo Galbiati
Esteemed Contributor

Re: Password expiration on trusted systems

This is the confgration file.