1. From the Apple menu choose System Preferences.
  2. From the View menu choose Users & Groups.
  3. Click the lock and authenticate as an administrator account.
  4. Click Login Options.
  5. Click the “Edit” or “Join” button at the bottom right.
  6. Click the “Open Directory Utility” button.
  7. Click the lock in the Directory Utility window.enter image description here
    Go to the menu Edit → Change root password…: enter image description hereIt should prompt you to enter a new root password: enter image description here
  8. Again, you have to have access to an administrator account to do this (so you can authenticate).
  9. Enter an administrator account name and password, then click OK.
  10. Choose Enable Root User from the Edit menu.
  11. Enter the root password you wish to use in both the Password and Verify fields, then click OK.

Next Post Previous Post