Last active
July 16, 2018 10:19
-
-
Save phackwer/6f2e7d494f373bc1de521bceeb88361b to your computer and use it in GitHub Desktop.
Get user as admin/root in MacOS
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 . -merge /Groups/admin GroupMembership username | |
sudo dscl . -append /groups/admin GroupMembership phackwer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment