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.
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 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.
Step #2. Click on Users and Groups.
Step #3. Next, click on the Lock icon.
Then, you have to enter your admin Password and click on Unlock.
Create Admin User Mac Terminal 3
Step #4. Next up, click on Login Options. Then, click on Join or Edit.
Step #5. Click on Open Directory Utility.
Now, you have to click on the Lock icon.
Next, enter your Password again and click on Modify configuration.
Step #6. Click on Edit in the menubar and then click on “Enable Root User.”
Step #7. Finally, you need to enter and confirm your Root User Password. Ensure that password is strong.
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)
Step #2. Now, you need to type:
sudo passwd -u root
Step #3. Now enter the Mac System password.
Step #4. Now, you need to enter and confirm your Root User Password.
Make sure not to disable the Root User as it will blank the password and let the bug work again.
Create Admin User Mac Terminal 3
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.
Previous articleHow to Add or Remove Favorites from Safari on iPhone and iPad
Next articleHow to Turn on Lost Mode on iPhone and iPad
Please enable JavaScript to view the comments powered by Disqus.
I am trying to create a user account in Terminal and I am running into an issue. I am using the following code:
After running all of those commands I check in the Users & Groups preference pane however nothing shows up. Also, if I go to /Library/users no directory for the account is found either like it wasnt created. The weird thing is, if I attempt to login to the new created account it will login fine but like I stated it does not appear anywhere in the directory or in system preferences. What am I doing wrong here? How can I fix it so it will be listed in Users & Groups and in the library directory?
Technic1anTechnic1an
1,18455 gold badges1414 silver badges1818 bronze badges
1 Answer
Try making 2 changes
- Change the UniqueID to something other than 501. Give a higher number 510 or so. The whole idea is to ensure that the ID is not already in use.
- Change the home directory to /Users/administrator.
Hope this helps!
Seema KadavanSeema Kadavan
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.