7

I've forgotten the password for my MacBook Pro, which uses OS X 10.9.1. How can I reset my password?

3
  • It's likely you can reset things simply by booting to the Recovery HD, but if you get stuck or don't understand how to start, just edit the question to explain what precisely you are stuck on or what term doesn't make sense.
    – bmike
    Jan 3, 2014 at 15:42
  • In addition, it'd be helpful if you stated whether FileVault is enabled, and if you've registered your account with your Apple ID.
    – grg
    Jan 3, 2014 at 15:48
  • I don't know if I have file vault or not- how can I tell?
    – mim
    Jan 3, 2014 at 16:02

3 Answers 3

7

Recovery HD

The simplest way may be to use the Recovery HD, but this won't work if you have FileVault enabled.

  1. Boot into the Recovery HD (hold ⌥ alt/option at boot and select the Recovery HD).

  2. Once it has booted, click Utilities, then Terminal.

  3. Type resetpassword then ↩ enter.

  4. Follow the instructions.

Restarting Setup Assistant

In addition to using the Recovery HD, you can also restart the Setup Assistant, create a new Administrator account, then use that account to reset the password to the original account. This process will work if you have FileVault enabled, although you'll have to unlock your drive first before mounting.

You can restart the Setup Assistant by performing the following:

  1. Boot into Single User Mode (hold ⌘ cmd + S at boot).

  2. Mount the drive by typing /sbin/mount -uw / then ↩ enter.

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

  4. Reboot by typing reboot then ↩ enter.

  5. Continue setup, making sure not to transfer data.

  6. Setup a new administrator account. You can use this account to reset the password to the original account (through System Preferences → Users & Groups).

    The new account can then be deleted once the original account has been recovered.

1

The easiest way to reset a user password is following the help menu on Finder on the Mac itself.

Search for "Reset a login password" and you will be guided to the steps needed whether you use FileVault or not (as well as have help to explain how to tell if you have FileVault enabled).

Additionally, Apple's guide on resetting passwords is:

Depending on how you secured the Mac there are several avenues to unlock things. If you have skill with terminal, this thread might also be useful:

1

Resetting User Account Password (10.7 +)

1) Boot into your Recovery Partition holding down command + R at the startup chime

2) Select 'Terminal' from your Utilities Menu Bar

3) Type the following bolded command in: resetpassword

4) From the window that appears, select your boot volume and the appropriate user account

5) Type in the new password and confirm the new password

6) Click Save, close this pane and quit Utilities

7) Select your boot volume when presented with 'choose startup disk' and then reboot your machine

1
  • This link shows screenshots and explains this process in more detail (coolestguidesontheplanet.com/…). Note: This procedure will work on the Admin account and any user.
    – Nohl
    Dec 29, 2014 at 3:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .