$manlookup

expiry

(1)

check and enforce password expiration policy

User commands3 optionspasswd 1:4.17.4-2
expiry option

Options

3
-c--check

Check the password expiration of the current user.

-f--force

Force a password change if the current user has an expired password.

-h--help

Display help message and exit.

DESCRIPTION

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

FILES

/etc/passwd

User account information.

/etc/shadow

Secure user account information.

See also