What Is Chage in Linux?
Contents

The chage command is used to modify user password expiry information. It enables you to view user account aging information, change the number of days between password changes and the date of the last password change.

What is the change command for Linux?

The “chage” command is used to modify the password expiry date of the user’s account in which you can change the current status of the expiry date, set expiry date to lock the account, active and inactive status, and warning days before the account get expired.

How do I change my expired password in Linux?

Using chage

  1. -E Set the expire date for a user password. …
  2. -I Set the number of inactive days allowed, after a password expires, before the account is locked.
  3. -l List the account aging information.
  4. -m Set the minimum number of days allowed between password changes.
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest