Jan 3, 2007 #1 drun97 Technical User Jun 29, 2006 5 US Once a password has been expired, is there a command to unexpire the password?
Jan 3, 2007 #2 RodKnowlton MIS Apr 26, 2000 1,005 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. Upvote 0 Downvote
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.