Operating System - HP-UX
1753640 Members
5353 Online
108798 Solutions
New Discussion юеВ

Password cannot be changed. Reason: password lifetime has passed.

 
Ramasubramanian Krishna
Occasional Advisor

Password cannot be changed. Reason: password lifetime has passed.

OS - HP-UX B.11.23
While changing password for a account getting
Password cannot be changed. Reason: password lifetime has passed.
trying doing
/usr/lbin/modprpw -k
/usr/lbin/modprpw -l
but still we are facing the same issue while changing the password.
Is there any other way to change the password without recreating the account.
6 REPLIES 6
sangilak
Trusted Contributor

Re: Password cannot be changed. Reason: password lifetime has passed.

Hi,


Try:
# /usr/lbin/modprpw -v
(this will reset the password age to zero)

or/and

# /usr/lbin/modprpw -x
(this will reset the password all together)


sangilak
Ramasubramanian Krishna
Occasional Advisor

Re: Password cannot be changed. Reason: password lifetime has passed.

I have already tried those options but still not able to change the password and getting the same error message
sangilak
Trusted Contributor

Re: Password cannot be changed. Reason: password lifetime has passed.

Hi,


Do you have a trusted system? Because you mentioned the modprpw command I assumed so...

Anyway, try:
# usermod -f 0

And try to change the password again...


Hope that helps!

sangilak
Ramasubramanian Krishna
Occasional Advisor

Re: Password cannot be changed. Reason: password lifetime has passed.

yes, its a trusted system
Ramasubramanian Krishna
Occasional Advisor

Re: Password cannot be changed. Reason: password lifetime has passed.

/usr/sbin/usermod -f 0 hpddmi
Invalid Time interval specified 0
sangilak
Trusted Contributor

Re: Password cannot be changed. Reason: password lifetime has passed.

Hi,


It looks like you might have ran into a known issue:

( QX:QXCR1001071544 )
Problem with password aging and account expiration in trusted mode.

This is fixed in the latest modprpw cumulative patch (PHCO_41573):
http://itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_41573

One last thing you could try before installing the patch is to try to change the password using SAM, although I do not think there is much chance that it will fix the issue...


Hope that helps!

sangilak