Operating System - HP-UX
1834149 Members
2158 Online
110064 Solutions
New Discussion

password expiration date help.

 
Christina Martin
Frequent Advisor

password expiration date help.

We need to create a script that will run in CRON that checks the password expiration time and will send a notice to root mail when is within 10 days of expiring.

Has anyone does this?

Does anyone now a command line entry that will tell me when the expiration date for can be seen (usually in seconds/minutes - but I can convert that)


Thanks in advance.
Lisa and Chrissy
4 REPLIES 4
Marco A.
Esteemed Contributor

Re: password expiration date help.

Hello Christina,

Please take a look at the following forum.:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=983718

There's a good script right there!...

Best regards,

Marc'o
Just unplug and plug in again ....
Marco A.
Esteemed Contributor

Re: password expiration date help.

And also in this other link.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1029126

Hope this helps 4 U ..

MArc'o
Just unplug and plug in again ....
Christina Martin
Frequent Advisor

Re: password expiration date help.

Thank you SO much. I knew I could count on forum members so that I wouldn't have to reinvent the wheel!!

Lisa and Chrissy
Marco A.
Esteemed Contributor

Re: password expiration date help.

Hello Lisa and Chrissy,

You can also take a look at this link when you have a little of time.:

http://forums1.itrc.hp.com/service/forums/helptips.do?#28

=)!

Happy weekend!

Best regards,

Marco
Just unplug and plug in again ....