The root user is not enabled by default in macOS. So when you run some installation program that always needs root permission you should get errors. The error message may confuse you, it sometimes tells you the password is wrong but the real reason is that the root user has never been enabled at all. This article will tell you how to enable root user or change the root user’s password when you need it in macOS.
1. Enable Root User In macOS Steps.
- Click Finder — > Go —> Computer —> MacHD —> System —> Library —> CoreServices —> Applications folder. There is a application named Directory Utility.
- Double click the Directory Utility icon to open the application.
- Click the lock icon at the above dialog window left bottom corner to make it editable.
- Then click Edit —> Enable Root User in the top menu bar to enable it.
- If the root user has been enabled then there is a Disable Root User menu item instead of the Enable Root User menu item.
- You can click the Change Root Password menu item there to change the root user password.
- After enabling the root user, give it a password and remember then you can execute the applications that need root permission.