HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 

expiring password

Go to solution
Nanda M

expiring password


How to find user has an expiring password on 11.23,
Suraj K Sankari
Honored Contributor

Re: expiring password

passwd -sa username

or in trusted system

/usr/lbin/modprpw -k username will unlock an account.

/usr/lbin/modprpw -l -m exptm=0 username will remove the password expiry.

Both of these can be done through SAM's User and Account manager if you prefer that way.

Jean-Luc Oudart
Honored Contributor

Re: expiring password

passwd -s

-s name

Display some password attributes associated with the specified name. Superuser privilege and non-trusted mode is required if the files repository is specified. For nisplus, there are no restrictions.

The format of the display will be:

name status mm/dd/yy min max warn

or, if password aging information is not present

name status

where status means: PS =passworded; LK =locked; and NP =no password.

cf. doc http://docs.hp.com/en/B3921-90010/passwd.1.html

fiat lux
Ganesan R
Honored Contributor

Re: expiring password


#passwd -s

The above command should list the expiring details. If it doesn't list the dates, means the account does not have set expiring date.

If it is a trusted system use getprpw command.

# /usr/lbin/getprpw

This command should list the below valuse of that paritcular account.

exptm ==> Password Expiration Time (days)
expwarn ==> Password Expiration Warning Time (days)
lftm ==> Password Life Time (days)
mintm ==> Time Between Password Changes (days)
Best wishes,