Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unexipre a password

Status
Not open for further replies.

drun97

Technical User
Jun 29, 2006
5
0
0
US
Once a password has been expired, is there a command to unexpire the password?
 
I'm guessing you don't want to simply reset the password, which would be the best way to do it.

To "unexpire" a password without setting a new one, this might do it.

Code:
chsec -f /etc/security/passwd -s username -a lastupdate=`perl -e 'print time'`

That's all one line.

- Rod


IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

Wish you could view posts with a fixed font? Got Firefox & Greasemonkey? Give yourself the option.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top