Last active
November 29, 2017 06:19
-
-
Save Deadlyelder/c49341013eac00a8b4b67f031dd4dea8 to your computer and use it in GitHub Desktop.
Quick and dirty solution for root pass. Credit to original thinker :P
This file contains hidden or 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
| cat /dev/urandom | env LC_CTYPE=C tr -dc a-zA-Z0-9 | head -c 60; echo | xargs -I rootpw sudo dscl . -passwd /Users/root rootpw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment