Home / Bugs (Software and Hardware) / Gain root access in macOS High Sierra #iamroot

Gain root access in macOS High Sierra #iamroot

It’s a rather embarrassing a bug that was discovered by developer Lemi Ergin that allows anyone to gain root access in macOS High Sierra with a blank password. Gain root access in macOS High Sierra #iamroot - blackMORE Ops - 1Yes, all you need to do is just press enter enough times and you’re root. In fact everyone now using #iamroot just to poke fun at @Apple for this mess. This bug works when attempting to access an administrator’s account on an unlocked Mac, and it also provides access at the login screen of a locked Mac. This bug is present in the current version of macOS High Sierra, 10.13.1, and the macOS 10.13.2 beta that is in testing at the moment. It’s not clear how such a significant bug got past Apple, but it’s likely this is something that the company will immediately address. Until the issue is fixed, you can enable a root account with a password to prevent the bug from working.

How to do #iamroot

Follow below steps from any kind of Mac account, admin or guest:

  1. Open System Preferences
  2. Choose Users & Groups
  3. Click the lock to make changes
  4. Type “root” in the username field
  5. Move the mouse to the Password field and click there, but leave it blank
  6. Click unlock, and it should allow you full access to add a new administrator account.

At the login screen, you can also use the root trick to gain access to a Mac after the feature has been enabled in System Preferences. At the login screen, click “Other,” and then enter “root” again with no password. This allows for admin-level access directly from the locked login screen, with the account able to see everything on the computer.

In case you think this is funny, well experts are also poking fun at Apple and there’s major tweetstorm going on.


So, if you were able to do it, leave a comment with nothing but “it worked #iamroot”. Enjoy

One comment

Use WordPress.com, Twitter, Facebook, or Google+ accounts to comment (anonymous comments allowed)

This site uses Akismet to reduce spam. Learn how your comment data is processed.