CmdID

CmdID / Commands

pwpolicy

Get and set password policies. tldr-pages

On macOS

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

Change password for specified user

sudo pwpolicy -a authenticator -u username -setpassword "new_password"Identify

Disable a user account

sudo pwpolicy -u username -disableuserIdentify

Enable a user account

sudo pwpolicy -u username -enableuserIdentify

Get list of password hashes stored on disk for a user account

sudo pwpolicy -u username -gethashtypesIdentify