Definition:

  • change user password expiry information
  • changes the number of days between password changes and the date of the last password change

Synopsis:

  • -M, --maxdays MAX_DAYS

List of options:

  • -E, --expiredate EXPIRE_DATE
    • Set the date or number of days since January 1, 1970 on which the user’s account will no longer be accessible.
      • The date may also be expressed in the format YYYY-MM-DD
    • -1 if there is no expire date
  • -l, --list
    • Show account aging information
  • ..
  • -m, --mindays MIN_DAYS
    • Set the minimum number of days between password changes to MIN_DAYS.
    • A value of zero for this field indicates that the user may change their password at any time.
  • -M, --maxdays MAX_DAYS
    • Maximum number of days during which a password is valid
  • -W, --warndays WARN_DAYS
    • Set the number of days of warning before a password change is required.
    • The WARN_DAYS option is the number of days prior to the password expiring that a user will be warned their password is about to expire.