Set a local user password.
Section: Users Groups and Sessions
Set or change password
bash
bash
sudo passwd deployExplanation
Also used to lock and unlock passwords on many systems.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Users Groups and Sessions