Pull down the “Utilities” menu and choose “Terminal”.Choose the Recovery drive to boot into recovery mode and wait until the “Utilities” screen appears.Boot into the Mac OS X boot loader menu by holding down the OPTION key at system start.Resetting a forgotten Mac password is pretty easy if you have an installer disk, drive, or the recovery partition handy, which method you use here will depend on the version of OS X the Mac is running.įor OS X Mavericks (10.9), Mountain Lion (10.8), and Lion (10.7) with Recovery Mode: Reset Mac Password – with installer CD/DVD, boot drive, or Recovery Mode Partition I have used this exact method multiple times to restore various Macs with forgotten/lost passwords. This is a great trick and excellent troubleshooting technique if you don’t have a Mac OS X installer CD/DVD laying around, which is pretty much the norm as many people tend to lose or misplace the installer disks that come with their computers. applesetupdone file, you are telling Mac OS X to re-run the setup wizard, which by default creates a new user account with Administrative abilities, which can then reset the forgotten password of any other user on the Mac. Optional: If you’d like, you can delete the temporary account you created to reset the users password. You can now login to the previously inaccessible user account using the newly reset password! All user files and settings are maintained as before the password was forgotten.Close System Preferences and reboot the Mac.Enter a new password for that user, be sure to include a meaningful hint so you don’t forget it again!.With the user of the forgotten password account selected, click on the “Reset Password” button.On the left side user panel, select the user account containing the forgotten password.Click on the Lock icon in the lower left corner of the “Accounts” preference window and enter the newly created user credentials, this enables you to change other user accounts and reset other users passwords.Click on the “Accounts” icon in System Preferences.Once you are booted into Mac OS X, click on the Apple logo and then navigate down to “System Preferences”.You are almost done, now you just need to reset the forgotten user account password using the Accounts control panel: Step-3) Reset the Forgot Password via System Preferences Continue on and boot into Mac OS X with this newly created user account, this new user account is an Administrator and has administrative access.Follow the welcome wizard and create a new user account – making the account name different from the account whose password you want to recover.Upon reboot, you will be presented with the traditional “Welcome Wizard” startup screen just like when you first get a Mac.In this step we just create a new user account as if you just got a new Mac: You aren’t finished, but the hard part is now over – no more command lines, you’ll now be in the familiar Mac OS X GUI to finish the password reset process. Step-2) Create a New User Account upon System Boot After removing the applesetupdone file, you need to reboot, type ‘reboot’ and hit enter.Now, type the following command exactly, followed by the enter key:.Next, you must mount the root drive as writeable so that changes will save:.You’ll need to check the filesystem first:.Restart the Mac holding down the Command+S keys, this will take you into Single User Mode and it’s Terminal interface.Step-1) Boot into Single User Mode and remove a setup file