| CHAGE(1) | chage | CHAGE(1) |
NAME¶
chage - change user password expiry information
SYNOPSIS¶
chage [option...] [user]
DESCRIPTION¶
chage is used to list and change the password expiry information of a user. It allows the system administrator to change the number of days between allowed and required password changes and the date of the last password change. It allows also to define when an account will expire. The chage command is restricted to the system administrator, except for the -l option, which may be used by an user to determine when his password or account is due to expire.
If no option is given, chage operates in an interactive mode, prompting the user with the current values for all of the fields. Enter the new value to change the field, or leave the line blank to use the current value. If the users exists in the local passwd(5) file, but not in the local shadow(5) file, chage will create a new entry in the shadow file.
This implementation does not require the setuid bit set, instead it will communicate via the varlink protocol with pwaccessd(8) and pwupd(8) to read and modify the account data.
OPTIONS¶
-l, --list
-M, --maxdays #days
-d, --lastday date
-E, --expiredate expiredate
-I, --inactive #days
-W, --warndays #days
NOTES¶
The Minimum Password Age field in the shadow(5) file is no longer supported for security reasons. This field sets a minimum validity period for a password before it can be changed, which creates a security risk in the event of a password leak. The field can only be modified if it is set; in that case, it should be cleared.
FILES¶
/etc/passwd
/etc/shadow
SEE ALSO¶
pwaccessd(8), pwupd(8), passwd(1), passwd(5), shadow(5)
| 07/17/2026 | account-utils 1.4.0 |