sysadminctl
CautionManage macOS users
sysadminctl -addUser <name> -password -
Creates/deletes users and resets passwords — the current supported CLI for kitting and rescues.
Examples
sysadminctl -resetPasswordFor taro -newPassword -Reset a password interactively
Syntax
sysadminctl -addUser n [-admin] / -deleteUser n / -resetPasswordFor n
Before you run it
Verify identity before resets.
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store