CmdID

CmdID / Commands

lchage

Display or change user password policy. tldr-pages

On Linux

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

Disable password expiration for the user

sudo lchage --date -1 usernameIdentify

Display the password policy for the user

sudo lchage --list usernameIdentify

Require password change for the user a certain number of days after the last password change

sudo lchage --maxdays number_of_days usernameIdentify

Start warning the user a certain number of days before the password expires

sudo lchage --warndays number_of_days usernameIdentify