How to enable the root user in Mac OS X (Mavericks and Yosemite)

- by

root is the most powerful user in Linux and UNIX systems, from which OS X is derived. The root user can read, write and delete every file on the system and – when placed in the wrong hands – destroy the entire system in a flash. Even power users on a Mac have very little reason to use root – which is why it’s disabled by default.

To enable it, head over to System Preferences – Users and Groups and select Login Options at the bottom left. If any of the following options are greyed out, simply click that little lock icon (and type in your computer password):

Screen Shot 2015-02-03 at 11.07.04 PM

Now select Network Account Server – Join… and another scary window appears. Thankfully we won’t have to worry about what it says:

Screen Shot 2015-02-03 at 11.13.10 PM

All we’re interested in is the standard menu bar at the top of the screen: select Edit – Enable Root User and hike it out of here. If ever you want to disable root, select Edit – Disable Root User (or change its password). Speaking of which, you’ll have to give the root user a password when prompted. Remember it.

Now click the little Apple Icon at the top left and log yourself out.

When your computer comes back you’ll be able to login as root, using the password you’ve specified. OS X will now start as if you’ve never setup your computer.

Remember to disable the root user again for your own safety when you no longer need it.



If you enjoy my content, please consider supporting me on Ko-fi. In return you can browse this whole site without any pesky ads! More details here.

Leave a Comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.