OS Manuals

/usr/bin/chage

PAM login and passwd utilities

From shadow 4.20.3-r3 (os), captured 2026-11-05 by running chage --help (exit 0). permalink

Usage: chage [options] LOGIN

Options:
  -d, --lastday LAST_DAY        set date of last password change to LAST_DAY
  -E, --expiredate EXPIRE_DATE  set account expiration date to EXPIRE_DATE
  -h, --help                    display this help message and exit
  -i, --iso8601                 use YYYY-MM-DD when printing dates
  -I, --inactive INACTIVE       set password inactive after expiration
                                to INACTIVE
  -l, --list                    show account aging information
  -M, --maxdays MAX_DAYS        set maximum number of days before password
                                change to MAX_DAYS
  -R, --root CHROOT_DIR         directory to chroot into
  -P, --prefix PREFIX_DIR       directory prefix
  -W, --warndays WARN_DAYS      set expiration warning days to WARN_DAYS
Options (10)
OptionDescriptionSource
-d, --lastday LAST_DAYset date of last password change to LAST_DAYhelp
-E, --expiredate EXPIRE_DATEset account expiration date to EXPIRE_DATEhelp
-h, --helpdisplay this help message and exithelp
-i, --iso8601use YYYY-MM-DD when printing dateshelp
-I, --inactive INACTIVEset password inactive after expiration to INACTIVEhelp
-l, --listshow account aging informationhelp
-M, --maxdays MAX_DAYSset maximum number of days before password change to MAX_DAYShelp
-R, --root CHROOT_DIRdirectory to chroot intohelp
-P, --prefix PREFIX_DIRdirectory prefixhelp
-W, --warndays WARN_DAYSset expiration warning days to WARN_DAYShelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.