Enabling Root User On A Mac 6

Tip

Share
Enabling Root User On A Mac

Hey

If you have been reading the posts on this blog a while you may notice me mention methods in which you have to use Terminal or a long method to enable you to edit restrictive files. This is done by your operating system to stop you changing something important. But you may want to enable root so you can quickly change an array of files, for instance if you have a web server installed. Enabling root on your Mac is very simple.

To enable root open Directory Utility under Utilities. I am not actually sure what this program does but it enables you to manage accounts in some way. The first step is to click the lock in the bottom left, and enter your account credentials.

Then go to Edit > Enable Root User, if this is your first time enabling root user you will have to enter a password. This is your root password so you will have to remember it. Once as you click ok you are done.

To actually use the root account you will have to switch to the login screen. Here you will be able to login in to extra accounts. When you click on the login option, enter “root” as the username and your password. You will then have root access. Here you can change any file without any worries. So be careful.

When you are done, its probably a good idea to disable the root account. Go to the edit menu of Directory Utility and select Disable Root User. This is so you don’t accidentally do something stupid.

Tomorrow I will be showing a cool trick you can use with a host file, to save you sometime its a good idea to be able to use root.


If you want to keep up with the latests post from Mac Tricks And Tips I recommend you subscribe to the RSS Feed.

Where To Next?

  • Subscribe To Mac Tricks And Tips