expiry1
Check and enforce password expiration policy
Usage
expiry option
Overview
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.
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 8 (Jessie)
- Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny)
- Debian 4.0 (Etch)
- Debian 3.1 (Sarge)
- Debian 3.0 (Woody)
- Debian 2.2 (Potato)
--check since Debian 7 (Wheezy);
--force since Debian 7 (Wheezy);
--help since Debian 7 (Wheezy);
-c since Debian 7 (Wheezy);
-f since Debian 7 (Wheezy);
-h since Debian 7 (Wheezy).