An administrator can reset the passwords of other users. On your Mac, choose Apple menu System Preferences, then click Users & Groups. Open Users & Groups preferences for me. Click the lock icon to unlock it, then enter an administrator name and password. Select a user, then click Reset Password. Select the alternative account and enter the password. Open System Preferences Users & Groups. Click the Lock icon in the bottom left. Enter the password again. In the Sidebar, select the account with the missing password. Click change password. Fill in the New Password, Verify and Password Hint fields. Click Change Password.
Use One Admin Account to Reset Another Admin Account. Since Mac OS X 10.4, Apple allows. Reboot the Mac, as soon as the screen turns back on or you hear the boot chime sound, start.
Some users want or have to change their user password. Although this was an easy process in Mac OS X Snow Leopard and older, there are a few things you have to know if you want to do it in any OS X version later than Lion (10.7).
There are two ways to reset the user password in OS X Lion, Mountain Lion or Mavericks:
If you can log in your user account and you remember your password:
You can only follow these steps if you still remember your password:
- Boot your Mac and go to System Preferences -> Users and Groups.
- You should see all the user accounts in the sidebar. Choose the user you want to change the password to and select Change Password.... You will be asked for your password.

Forgot Mac Password
If you cannot:
Sometimes it is not possible to log in your user if you forgot its password. In that case, you are forced to reset the password through OS X Recovery.
- Press Command and R keys while your Mac is starting up and hold those keys until you see the Apple icon. If you have a Mac with Internet Recovery, read -> http://support.apple.com/kb/HT4718. If your Mac has got a wireless keyboard, press them when you hear the startup sound.
- Once you see the 'OS X Utilities' window, go to Utilities -> Terminal, and type:
resetpassword
Press your user and type your password. Finally, reboot, and you will have changed the user password successfully.
This doesn't work for FileVault. If you forget your password with FileVault, you lost your data. Note that you can create a Recovery USB drive too -> http://support.apple.com/kb/HT4848
Reset Password Mac Terminal
If you used OS X Recovery to reset your password, you may be unable to use your old keychain after following those steps. Unfortunately, you will have to create a new keychain -> If your Mac keeps asking for the login keychain password - Apple Support
So, you’re trying to use your Mac, but you can’t get past the login screen because you don’t remember your password. First, you should make sure that the Caps Lock isn’t on, because passwords are case sensitive. Then, you should try using your password hint by clicking on the question mark in the password field. But if you still can’t log in, don’t contact Apple Support yet. Here’s how to reset your admin password on a Mac, even if you forgot your admin password.
How to Reset Admin Password on Mac
The easiest way to reset your admin password is to enter recovery mode. Here’s how to do that:
- Restart your Mac. You can only access the recovery mode while the laptop is booting up, which is why you need to restart it.
- While it is restarting, press and hold the Command + R keys until you see the Apple logo. If you see the login screen, you will have to restart and repeat this step again until you get to Recovery Mode.
- Go to the Apple Menu at the top and click Utilities. This will open a drop-down menu.
- Then click Terminal.
- Type “resetpassword” in the terminal window. Don’t use any space in between the words.
- Then hit Enter. This will open the Reset Password Assistant screen.
- Type your password and a hint.
Note: If you have several user accounts or an older Mac, you will have to select “forgot all passwords,” then select the user account you want to reset the password for. Finally, you will have to click the Apple icon in the upper-left corner and select Restart from the drop-down menu.
- Finally, click Restart. Once you get to the Login screen, select the admin user you just reset the password for and type your new password. Click Enter.
How to Reset your Password Using you Apple ID
If you try to log in several times, you will see a pop-up message asking if you want to reset your password with your Apple ID. Follow these steps to continue:
- Click the arrow to use your Apple ID.
- Enter your Apple ID and password.
- Then hit Enter. Right after this, you will be asked to restart your computer.
- Click Restart to continue.
- Log in with your new password.
If you can get to your desktop, then you have successfully reset or changed your password.
How to Reset your PasswordUsing Another Admin Account
If your Mac has more than one users, and youknow the login credentials to another one of the accounts, you can use thataccount to log in and reset your password. Here’s how:
- Log in to another admin account.
- Go to System Preferences. You can find this in your Applications folder.
- Next, click Users & Group.
- Click on the padlock in the bottom-left corner of the window. You will have to enter the username and password of that user again.
- Select the user you want to reset the password for, then click Reset Password.
- Fill in the necessary fields and hit Enter.
- Then log out of the current user account. This will bring you to the Login screen.
- Log in to the account you just changed the password for.
If you’re still having problems, and you want to install or reinstall macOS in your computer to wipe it clean and give it a fresh OS, check out our previous article here.