Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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

Locked out on yosemite

I'Be locked myself out of new Macbbok Air with Yosemite. How do I reset password?

MacBook Air (13-inch, Early 2015), OS X Yosemite (10.10.4)

Posted on Jul 27, 2015 8:19 PM

Reply
Question marked as Best reply

Posted on Jul 27, 2015 9:07 PM

First, make sure caps lock is not on.

Another reason why the password might not be recognized is that the keyboard layout (input source) has been switched without your realizing it. You can select one of the available layouts in the login screen by choosing from the flag menu in the upper right corner, if it's showing, or else cycle through them by pressing the key combination command-space or command-option-space.

If the user account is associated with an Apple ID, and you know the Apple ID password, then maybe theApple ID can be used to reset your user account password. In OS X 10.10 and later, this option also works with FileVault, but only if you enabled it when you activated FileVault. It's not retroactive. Otherwise, see below.

Note: If you've activated FileVault, this procedure doesn't apply. Follow instead these instructions.

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.

2 replies
Question marked as Best reply

Jul 27, 2015 9:07 PM in response to danmdks

First, make sure caps lock is not on.

Another reason why the password might not be recognized is that the keyboard layout (input source) has been switched without your realizing it. You can select one of the available layouts in the login screen by choosing from the flag menu in the upper right corner, if it's showing, or else cycle through them by pressing the key combination command-space or command-option-space.

If the user account is associated with an Apple ID, and you know the Apple ID password, then maybe theApple ID can be used to reset your user account password. In OS X 10.10 and later, this option also works with FileVault, but only if you enabled it when you activated FileVault. It's not retroactive. Otherwise, see below.

Note: If you've activated FileVault, this procedure doesn't apply. Follow instead these instructions.

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.

Locked out on yosemite

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