How to Enable Root User on Mac to Protect It from Dangerous macOS High Sierra Bug

Apple has offered a temporary solution to safeguard Mac's admin from the newly discovered bug in macOS High Sierra. Head over to provide the much-needed security to your Mac.

Developer Lem Ergin has discovered a serious bug in macOS High Sierra that allows anyone log into an admin account using the username “root” with no password. As per reports, it works when anyone attempts to access an administrator’s account on an unlocked Mac. Besides, it also allows access to the login screen of a locked Mac.

Update: Apple has released Security Update 2017-001 to fix the bug that enables access to the root superuser account with a blank password on any Mac running macOS High Sierra 10.13.1.

Sponsored Links

Apple is already aware of this bug and has issued a temporary solution to the problem.

“We are working on a software update to address this issue. In the meantime, setting a root password prevents unauthorized access to your Mac.” – Apple

How to Enable Root User on Mac

How to Enable Root User on Your Mac Running macOS High Sierra

Step #1. First off, you need to click on Apple menu at top left of the screen and then select System Preferences.

Sponsored Links

Click on System Preferences on Mac

Step #2. Click on Users and Groups.

Click on Users & Groups in Mac Settings

Step #3. Next, click on the Lock icon.

Sponsored Links

Click on Lock Icon in Mac System Preferences

Then, you have to enter your admin Password and click on Unlock.

Enter Mac System Password

Step #4. Next up, click on Login Options. Then, click on Join or Edit.

Sponsored Links

Click on Login Options then Click on Join

Step #5. Click on Open Directory Utility.

Click on Open Directory Utility on Mac

Now, you have to click on the Lock icon.

Sponsored Links

Click on Lock Icon to Change Directory Utility on Mac

Next, enter your Password again and click on Modify configuration.

Click on Modify Configuration on Mac

Step #6. Click on Edit in the menubar and then click on “Enable Root User.”

Enable Root User on Mac

Step #7. Finally, you need to enter and confirm your Root User Password. Ensure that password is strong.

Set Root User Password on Mac

You can also use the command line to create your Root User Password quickly.

How to Create Root User Password on Mac using Terminal

Step #1. Launch Terminal. (Simply open Spotlight Search → Type Terminal → Open it)

Launch Terminal Using Spotlight on Mac

Step #2. Now, you need to type: sudo passwd -u root

Enter Command to Enable Root User on Mac

Step #3. Now enter the Mac System password.

Enter Mac System Password using Terminal

Step #4. Now, you need to enter and confirm your Root User Password.

Change Root User Password on Mac Using Terminal

Make sure not to disable the Root User as it will blank the password and let the bug work again.

That’s it!

Wrapping up:

Apple will soon release a permanent fix for this bug. In the meantime, use this solution to shield your Mac.

Have any feedback? Shoot it in the comments below.

You may want to read these posts as well:

Like this post? Download our app and remain connected with us via Facebook, Twitter, and Google Plus to read more such helpful guides.

Jignesh Padhiyarhttps://www.igeeksblog.com
Jignesh Padhiyar is the co-founder of iGeeksBlog.com who has a keen eye for news, rumors and all the unusual stuff that happens around Apple products. During his tight schedule, Jignesh finds some moments of respite to share side-splitting contents on social media.

Latest Articles

How to Permanently Delete Instagram Account from iPhone, Android, or PC

An overdose of social media might cause exasperating effects on your mind; for this reason, users decide to delete their Instagram accounts. Many users...

Best Sleep Tracker Apps for Apple Watch: Monitor The Time When You Snooze Mind

According to fitness experts, sound sleep is part and parcel of your fitness activities. Though there are some sleep tracking apps available for iPhone,...

Massive Giveaway from MacXDVD: MacX MediaTrans Giveaway & Win iPhone XR

It's almost Christmas, and everyone's having discounts going on. But what if I tell that there's a giveaway with three different campaigns? Yes, MacXDVD...

Qualcomm Case Takes a New Turn; Apple Ready to Push Software Update in China

A couple of days back Wall Street Journal reported that Apple was hit with a sales ban on older iPhones in China. Law authorities...