Skip to content

Support us

Created: 2022-06-18 | Last update: 2022-06-19

Enable or Disable the Root User on macOS

Mac administrators can use the root user account to perform tasks that require access to more areas of the system.

The user account named ”root” is a superuser with read and write privileges to more areas of the system, including files in other macOS user accounts. The root user is disabled by default. If you can log in to your Mac with an administrator account, you can enable the root user, then log in as the root user to complete your task.

How to Enable the Root User

System Preferences > Users & Groups Click lock icon, enter an administrator name and password. Click Login Options. Click Join at Newotk Account Server.

User and Groups

Click Open Directory Utility.

Directory Utility

Click lock icon in the Directory Utility window, then enter an administrator name and password.

From the menu bar in Directory Utility: Choose Edit > Enable Root User, then enter the password that you want to use for the root user. Or choose Edit > Disable Root User.

Enable Root User

How to Disable the Root User

To Disable the Root User repeat the steps above, but change the last step to Disable Root User.

Login as The Root User

When the root user is enabled, you have the privileges of the root user only while logged in as the root user.

Logout of your current account, then log in as the root user. user name ”root” and the password you created for the root user.

Comments