Created
November 29, 2017 13:51
-
-
Save geoffrepoli/f36a13247ead6ec298e114a8f05b5495 to your computer and use it in GitHub Desktop.
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
sudo dscl . passwd /users/root "$(env LC_CTYPE=C tr -dc 'A-Za-z0-9_\ \!\@\#\$\%\^\&\*\(\)-+=' < /dev/urandom | head -c 32)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment