In Unix style operating systems Root is a special user, different than administrator who has high privileges and rights to make any type of change to the system. The Root user doesn’t appear in user accounts on Mac. By default Root user is disabled and this is recommended that after conducting the required change through Root, disable and logout from it and work on Mac system via regular or admin user accounts.
Here is the method written bellow to learn that how to enable or disable the root user on Mac, so follow the steps to do that after a jump.
How to Enable the Root on Mac
Click on Finder
Then click Go menu and click Utilities
Click on Directory Utility
On the following window click on lock to unlock it
On this pop-up screen, enter administrator name and password and click OK
Now, its unlocked to proceed further
Click on Edit menu option and then on Enable Root User
Enter Root password whatever you want and re-type in Verify text field and press OK
Now, the Root is enabled. Logout from your current user account and Login with the user name Other, that’s the Root so enter the Root in Name field and password which you’ve set in the above steps for root to get login. Make your required changes in system whatever you want.
How to Disable the Root
Just logout from Root and Login to the other Admin account. Then Click on Finder >> Utilities folder >> Directory Utility. The following screen will appear, so click on lock to prevent further changes
Now click Edit menu option, you’ll see the Root is disabled