# EXPIRY - check and enforce password expiration policy - man - [phpMan]

[_EXPIRY_(1)](https://www.chedong.com/phpMan.php/man/EXPIRY/1/markdown)                                   User Commands                                  [_EXPIRY_(1)](https://www.chedong.com/phpMan.php/man/EXPIRY/1/markdown)

## NAME
       expiry - check and enforce password expiration policy

## SYNOPSIS


       **expiry _**option_

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

## 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.

## FILES
       /etc/passwd
           User account information.

       /etc/shadow
           Secure user account information.

## SEE ALSO
       [**passwd**(5)](https://www.chedong.com/phpMan.php/man/passwd/5/markdown), [**shadow**(5)](https://www.chedong.com/phpMan.php/man/shadow/5/markdown).

shadow-utils 4.13                            05/30/2024                                    [_EXPIRY_(1)](https://www.chedong.com/phpMan.php/man/EXPIRY/1/markdown)
