ERROR: Password cannot be changed. Reason: password lifetime has passed.
To get rid of this error. First unlock the account.
#/usr/lbin/modprpw -l username
Then reset the password.
#/bin/passwd username
Note
You may set password as non expiry.
#/usr/lbin/modprpw -v username
View the password parameter.
#/usr/lbin/getprpw -l username
it is changeable but some time it’s take more time for change password in HP UX