If you've ever forgotten the password for youryou're aware of the panic that comes with each failed login attempt. Instead of freaking out, take a deep breath and find you can count on being just minutes away from your Mac.
Fortunately,includes built-in tools that allow you to reset your account password in such situations. Which tool you use depends on whether you have linked your to your user account on the Mac during setup. If you have not done so, you have another option to reset your account password.
Use the recovery mode to reset your password.
You must start your Mac in recovery mode to access the password reset tool. I found the easiest way to do this was by turning off the Mac (instead of restarting the Mac and timing the keyboard shortcut).
Jason Cipriani / CNET
With the Mac power off, hold down the Command key and the R key on your keyboard, and then press the Power key. Hold down Command + R until a status bar appears below the Apple logo.
In the recovery mode of your Mac, on the menu bar, click Utilities, and then click Terminal. A new window opens in which you wait for the input of a command. Type " resetpassword " as a word without quotation marks and press Enter.
Close the Terminal window where you will find the Reset Password tool. A list of all user accounts on your Mac is displayed. To reset the password for your account, you must set a new password for all users. Be sure to note the new password for anyone sharing your Mac.
Use your Apple ID to reset your password.
After entering the wrong user password multiple times, you may be asked if you want to reset the password using your Apple ID. Alternatively, you can click the question mark icon in the password text box and then click the arrow icon to trigger the same action.
After entering your Apple ID email address and password, a warning message appears informing you that a new keychain is being created that stores your passwords. Your old keychain will remain on your Mac. If you ever remember your old password, you can unlock the old keychain. If this warning appears, just click OK .
Follow the remaining instructions to create a new, easier-to-remember password for your user account.
Either method is an effective way to restore access to your account, or if your child has forgotten their password. Of course, if you can use this to access your Mac, it can be done by someone else who has access to your computer.
You can prevent this. All you have to do is be more proactive about saving recovery keys and saving your password..