CmdID

CmdID / Commands

chage

Change user account and password expiry information. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

List password information for the user

chage --list usernameIdentify

Enable password expiration in 10 days

sudo chage --maxdays 10 usernameIdentify

Disable password expiration

sudo chage --maxdays -1 usernameIdentify

Set account expiration date

sudo chage --expiredate YYYY-MM-DD usernameIdentify

Force user to change password on next log in

sudo chage --lastday 0 usernameIdentify

Re-enable an account

sudo chage --expiredate -1 usernameIdentify