❑ chage(Change age) : This is A Linux command to change password property of /etc/shadow file.
* Password property : All fields in / etc / shadow except login name and hash password fields.
* Here is password's property of /etc/shadow(Link).
Option | Description |
-l | Print all password property. |
-d | Change last password changed date.
* If set to 0, the password must be changed at the next login.
|
-m | Change minimum date of password use. |
-M | Change maximum date of password use. |
-W | Change warning date to notify the password change before expiration. |
-I | Change inactive day that is the additional date to change the password possible. |
-E | Change password expiration date(YYYY-MM-DD) |