MacOS – I don’t have administrator account on the mac

accountsadministratormacos

On my mac I have 2 accounts and the both are normal account. So in this moment I don't have a Administrator account, only one that was in the past a administrator, but now is not.

How I can have again a Administrator account?

Best Answer

You can create a new administrator account by restarting the Setup Assistant:

  1. Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)

  2. Check and repair the drive by typing /sbin/fsck -fy then ↩ enter - as directed by the on-screen text.

  3. Mount the drive as read-write by typing /sbin/mount -uw / then ↩ enter.

  4. Remove the Apple Setup Done file by typing rm /var/db/.AppleSetupDone then ↩ enter.

  5. Reboot by typing reboot then ↩ enter.

  6. Complete the setup process, creating a new admin account.

Note that this may result in the new account being logging in automatically when the system is restarted, replacing whatever account may have been set to automatically log in previously. If you need to retain access to the original account without knowing its password, this may mess that up.