Linux "expiry" Command Line Options and Examples
check and enforce password expiration policy

The expiry command checks (-c) the current password expiration and forces (-f) changes when required. It is callable as a normal user command..


Usage:

expiry option






Command Line Options:

-c
Check the password expiration of the current user.
expiry -c ...
-f
Force a password change if the current user has an expired password.
expiry -f ...
-h
Display help message and exit.FILES/etc/passwdUser account information./etc/shadowSecure user account information.
expiry -h ...