Forrest logo
back to context overview

chage

List of commands for chage:

  • chage:tldr:7de32 chage: Set account expiration date.
    $ sudo chage --expiredate ${YYYY-MM-DD} ${username}
    try on your machine
    explain this command
  • chage:tldr:96652 chage: Enable password expiration in 10 days.
    $ sudo chage --maxdays ${10} ${username}
    try on your machine
    explain this command
  • chage:tldr:f2485 chage: Force user to change password on next log in.
    $ sudo chage --lastday ${0} ${username}
    try on your machine
    explain this command
  • chage:tldr:f9107 chage: List password information for the user.
    $ chage --list ${username}
    try on your machine
    explain this command
back to context overview