Operating System - HP-UX
1755504 Members
3384 Online
108834 Solutions
New Discussion

Date Of password Expiry for user

 
DeafFrog
Valued Contributor

Date Of password Expiry for user

Dear Gurus,
Is here any script thru which i can come to know whad date from now , will the user passwd expire.
I refernace this script , but it's shedding some negative numbers.Please provide one such tested script for itanium v3.

http://h30499.www3.hp.com/t5/General/password-on-hpux-11i/m-p/3600133#M111889


Regards,

FrogIsDeaf
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: Date Of password Expiry for user

Try replacing the Posix shell by ksh:
#!/usr/bin/ksh

ksh allows 64 bit ints.