TechMag
Emerging Tech, Gadgets and Reviews

How to recover your Mac password?

251

The macOS operating system is secure and requires the use of a password to perform many operations such as installing software or changing System Preferences. If you can no longer get your hands on this access code, then follow the tutorial below, you will be able to re-access your Apple machine.

Related: How to remove MacKeeper from your macOS?

Recover your Mac password

1. Use password hint

First of all, try to refresh your memory with the password hint (that is, the question or phrase you recorded along with your code).

The password hint is automatically displayed when you enter the wrong code three times in a row:

  1. Open System Preferences (Apple → System Preferences).
  2. Select Users and Groups.
  3. Click on the Padlock icon at the bottom left.
  4. Press Enter three times to display the password hint.

If nothing happens then it means that you have not created a password hint. Fortunately, there are other ways to get your precious code back.

2. Change a password from another user account

If you share the use of your Mac with another person, then you can go through their user account to reset your password.

  1. Go to the other user account.
  2. Open System Preferences → Users & Groups.
  3. Click on the  Padlock , at the bottom left of the window.
  4. Enter the password of the session you are in.
  5. In the left column, select the account for which you forgot the password.
  6. Click on Reset password.
  7. Fill in the New passwordConfirmation and Password hint fields.
  8. Click on  Change password.

You now have a new password for your user account. Note that this does not change the password for your login keychain, so you will need to create a new one.

Related: 8 Best MacBook Pro alternatives for 2021

3. Change a password with recovery mode

If you only have one session on your Mac or yours is the only one with computer administration rights, then you will need to go through Recovery mode. Here’s how to do it:

  1. Shut down your computer.
  2. Boot into Recovery mode by pressing and holding Command  +  R and  Start (please be patient this can be a bit slow).
  3. As soon as the load bar appears, release the buttons.
  4. Select Disk Utility , then press Continue.
  5. Click Utilities , then Terminal.
  6. Type resetpassword (lowercase, no spaces), press Enter.
  7. Click on the drive containing your account (normally this is the primary drive).
  8. Choose the account to modify with Select the User Account.
  9. Enter your new password twice.
  10. Type a new password hint and click Save.
  11. An alert will appear stating that the password has been changed, but not the keychain password. Click on OK.
  12. Shut down your computer. When it is restarted, you will be able to use your new password.

4. Use target disk mode

If you are unable to use the above methods, then go through Target Disk Mode. Thus, you recover the data on your computer; for this you will need to borrow a relative’s Mac.

  1. Shut down your macOS, connect it using a Thunderbolt (or Firewire) to the second Mac.
  2. Turn on your computer while holding down the T key.

Your Mac is now in Target Disk Mode, which means it acts like an external hard drive. Normally, you should see it appear in Finder on the second Mac.

You can import the files you want to the second Mac or even clone your entire drive and then save it to an external hard drive.

Related: How to download YouTube videos on Mac?

Prevent someone from resetting your password

Now that you know how to reset password with recovery mode, surely you are worried about your personal data.

To protect your sensitive files if your computer is lost or stolen, we recommend that you use FileVault Encryption. When you use FileVault Encryption you receive a Recovery Key and a password.

Tip: Print these documents and store them neatly because if you lose them you will never be able to access your data again.

To enable FileVault, go to your System Preferences → Security & Privacy → FileVault.