Enabling the root User

Like in previous versions of Mac OS X, logging in as root is disabled by default. Luckily, enabling root access can be done in a few simple steps. In this article, I’ll show you how to activate the root account Lion.
Why enable root?

There are several reasons why someone might want to enable root login on their Mac. From a security perspective, setting a root password is a way to “take ownership” of the super user account and effectively restricts the possibility for someone else to do so in your place. In some other cases, you may need to login as root for boot manipulation and other very low level operations.

In most cases, you don’t need to have root access enabled to execute commands as the super user. The following command works just as well most of the time :

$ sudo -s

When prompted, enter the password for your account. You need to be logged in as an Administrator to execute this command. This will not work if you are a Standard or Guest user.

Enable root account in Mac OS X Lion
scouture June 14, 2011 0

How to get root access in Lion

Like in previous versions of Mac OS X, logging in as root is disabled by default. Luckily, enabling root access can be done in a few simple steps. In this article, I’ll show you how to activate the root account Lion.
Why enable root?

There are several reasons why someone might want to enable root login on their Mac. From a security perspective, setting a root password is a way to “take ownership” of the super user account and effectively restricts the possibility for someone else to do so in your place. In some other cases, you may need to login as root for boot manipulation and other very low level operations.

In most cases, you don’t need to have root access enabled to execute commands as the super user. The following command works just as well most of the time :

$ sudo -s

When prompted, enter the password for your account. You need to be logged in as an Administrator to execute this command. This will not work if you are a Standard or Guest user.

Terminal Root

How to Enable the root Account

Follow these simple steps to enable the root account in Lion.

Launch the Directory Utility. It is located in /System/Library/CoreServices.
Click the padlock icon on the bottom left corner and enter your Administrator login credentials to unlock the application
In the Edit menu, select Enable Root User
Again from the Edit menu, select Change Root Password. A dialog window will apear prompting you to enter a root password