Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I reset administrator password? I was locked out after being hacked.

I was locked out after being hacked.

MacBook Pro

Posted on Aug 30, 2015 6:19 AM

Reply
1 reply

Aug 30, 2015 8:29 AM in response to sbeans13

Note: If you've activated FileVault, this procedure doesn't apply. Follow instead the instructions on this page, under the heading "If you forget your password."

Start up in Recovery mode. When the OS X Utilities window appears, select

Utilities Terminal

from the menu bar at the top of the screen—not from any of the items in the OS X Utilities window.

In the window that opens, type this:

resetp

Press the tab key. The partial command you typed will automatically be completed to this:

resetpassword

Press return. A Reset Password window opens. Close the Terminal window to get it out of the way.

Select the startup volume ("Macintosh HD," unless you gave it a different name) if not already selected. You won't be able to do this if FileVault is active.

Select your username from the menu labeled Select the user account if not already selected.

Follow the prompts to reset the password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9.

Select

Restart

from the menu bar.

You should now be able to log in with the new password, but the Keychain will be reset (empty.) If you've forgotten the Keychain password (which is ordinarily the same as the login password), there's no way to recover it.

How do I reset administrator password? I was locked out after being hacked.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.