Password cannot be changed. Reason: password lifetime has passed


This  KB describes  how to fix  this error  on  HP-UX.

Error:

Password cannot be changed. Reason: password lifetime has passed

Fix:

Check  user password config  with  “getprpw” command.

#  /usr/lbin/getprpw -l oracle

uid=109, bootpw=NO, audid=19, audflg=1, mintm=-1, maxpwln=-1, exptm=-1, lftm=-1, spwchg=Fri Aug 21 11:42:12 2015, upwchg=Thu Nov 19 11:18:30 2015, acctexp=-1, llog=-1, expwarn=-1, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Thu Nov 19 11:20:02 2015, ulogint=Thu Nov 19 11:01:48 2015, sloginy=-1, culogin=-1, uloginy=-1, umaxlntr=-1, alock=NO, lockout=1000000 

This output shows  the  reason  of  error :

spwchg=Fri Aug 21 11:42:12 2015

Reset User password  lifetime

#/usr/lbin/modprpw -v  oracle

Check  configuration again

#  /usr/lbin/getprpw -l oracle

uid=109, bootpw=NO, audid=19, audflg=1, mintm=-1, maxpwln=-1, exptm=-1, lftm=-1, spwchg=Thu Nov 19 11:23:13 2015, upwchg=Thu Nov 19 11:18:30 2015, acctexp=-1, llog=-1, expwarn=-1, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Thu Nov 19 11:20:02 2015, ulogint=Thu Nov 19 11:01:48 2015, sloginy=-1, culogin=-1, uloginy=-1, umaxlntr=-1, alock=NO, lockout=0000000

Change  password for  user

# passwd oracle

Changing password for oracle

Last successful password change for oracle: Thu Nov 19 11:23:13 2015

Last unsuccessful password change for oracle: Thu Nov 19 11:24:00 2015

 

Do you want (choose one letter only):

pronounceable passwords generated for you (g)

a string of letters generated (l) ?

to pick your passwords (p) ?

 

Enter choice here: p

New password:

You may not re-use the same password.

New password:

Re-enter new password:

Passwd successfully changed

 

 

Tagged In:

I'm a IT Infrastructure and Operations Architect with extensive experience and administration skills and works for Turk Telekom. I provide hardware and software support for the IT Infrastructure and Operations tasks.

205 Total Posts
Follow Me