Linux chage command The chage command is used to set account expiration date for user. It also changes the time the user’s password will expire. Syntax: $ chage [options] LOGIN Examples:- #1 – Set Password Expiry Days of User Set the number of days to expire password after last change. It means the user will force to change its password after 15 days of last change. $ chage -M 15 testuser #2 – Set Account Password Expiry Warning Date You can also set the password expiry warning date. So that…
Read More