Skip to content

Instantly share code, notes, and snippets.

@yorzi
Created May 18, 2013 01:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yorzi/5602937 to your computer and use it in GitHub Desktop.
Save yorzi/5602937 to your computer and use it in GitHub Desktop.
Enable root user on MAC (Lion and Mountain Lion) via GUI.
  • Open System Preferences, select Users & Groups
  • Click the lock and enter your password to unlock the panel
  • Click Login Options, then click the Join button
  • Click Open Directory Utility button
  • Now go up to the Edit menu and select Enable Root User
  • Enter a password and voila, root is enabled
  • Later, after the rest is done, you need to retrace these steps and select Disable Root User
@yorzi
Copy link
Author

yorzi commented May 18, 2013

This is useful when you lost sudo permition by accident.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment