expiry - check and enforce password expiration policy
Contents
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.
Name
expiry - check and enforce password expiration policy
Options
The options which apply to the expiry command are:
-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.
See Also
passwd(5), shadow(5). shadow-utils 4.16.0 12/02/2024 EXPIRY(1)
Synopsis
expiryoption
