Created
August 5, 2022 16:41
-
-
Save wegotoeleven/c827190cc9b7ed000e265972201f0bec to your computer and use it in GitHub Desktop.
Change user password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
username="" | |
sudo dscl . -passwd /Users/"${username}" <password1> <password2> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment