Just like Windows, Mac is another operating system that is being used by millions of people around the world. At certain points, it considered better than Windows. However, the fundamental usages on both are quite similar. Just the way of doing things is different. In this article, I am going to explain how to reset your Mac login or admin password if you forgot it by chance.
A welcoming graphical window will appear, allowing you to reset your admin password in a familiar way. Select the storage device that contains the operating system. Select the admin account. Click on the Change Password button. Enter a new password as well as a new password hint. Save and restart from the main menu. Log in with your new admin.
There are certain ways and methods that you can employ to reset the password of you Mac OS X in case you forgot it. There might be many ways of resetting the Mac password but I am explaining the three ways that I am familiar with.
Method 1: Reset Mac Admin Password Using Your Apple ID
One of the simplest and easiest ways to reset Mac OS X password is resetting by using your Apple ID.Now since you forgot your password, just enter wrong passwords many times on the login screen, and you will see a message just as you can see in the screenshot below that states that you can reset the password using the Apple ID.
After the last command, your Mac will be shut down. Press power button to start again. You will see the Mac startup screen. Follow the steps that are narrated by your Mac to create an admin account. Now, you will be logged in using your new admin account. Go to Users & Groups from System Preferences.
Reset Your Administrator Password Using the Recovery HD Partition Apple includes a Recovery HD partition on newer Macs. It contains a Reset Password option. Restart the Mac while holding down the Command+R keyboard combination to enter the macOS Recovery partition.
There you can also see a small arrow that you have to click to reset the password. Follow the on-screen instruction, and in few minutes you will be able to reset your password. This method is simple and effective! I prefer this one over any other method, and that is the reason, I kept this on the top on my list.
Note: This method will work only if you already have the Apple ID linked to your account. If you're Windows 10 user, don't forgot to check our other guide for Windows 10 password reset.
Method 2: Mac OS X's Password Recovery Utility To Reset Your Password
Mac OS X has inbuilt password recovery utility that you can use to reset the password.
Follow the steps below:
1) Start your Mac computer by pressing the Power button.
2) Press Command + R immediately to boot your Mac computer to recovery drive.
Step 3. Now you will see the recovery utility screen. Select Terminal from Utilities Menu. Then type the command: resetpassword in the Terminal.
Step 4. Press the Enter button, and the Password Recovery Utility will be opened. There you have to select the volume that contains the user account which is by default: Macintosh HD. Enter a new password, and click on save.
Step 5. Restart your Mac computer, and when it asks the password, enter the password you have just set in step 4, and you will be able to log in.
Method 3: Use Terminal To Reset Your OS X Password
Before you get on to try this method, let me tell you a few things: Mac excel equivalent.
1. This method will create a new admin account, and then you can use that account to reset your existing account's password. 2. Though this method is well tested, you must have the backup of your data. And, we don't take any responsibilities of any damage that may happen (in rare cases) while carrying out this method. 3. Try this method only if no other method works for you.
Follow the steps below to carry out the password reset using Terminal:
Step 1. Press power button to turn your Mac On. And Press and hold Command + S
Step 2. Doing this will open the Terminal in single user mode. If you see the below screen, you are successfully entered into the single user mode of Terminal.
Step 3. Now, you need to execute a set of commands one by one that I have listed below. Remember, after every command you type, you have to press the enter button to execute that command.
mount -uw /
rm /var/db/.AppleSetupDone
shutdown –h
Step 4. After the last command, your Mac will be shut down. Press power button to start again. You will see the Mac startup screen. Follow the steps that are narrated by your Mac to create an admin account.
Step 5. Now, you will be logged in using your new admin account. Go to Users & Groups from System Preferences.
Step 6. Now, Click on the lock icon to authenticate. And enter the admin user and password you have just created.
Step 7. Now you will see all the user accounts that are present on your Mac. You just have to select the account which password you need to reset, and just do it.
Once you are done with the resetting the password of the account, you may log out of the newly created admin account, and log in with the account which password you have just reset using the new password.
Verdict
These are the three best ways to reset the Mac login password when you forgot it. For better security, note down your password somewhere, and keep that safe! Hope you like these methods.
Change Admin Password Mac Terminal
Oct.18, 2016 17:11:32 pm / Posted by Vicky Tiffany to Windows 7
The passwords for all accounts on macOS Mojave 10.14, macOS Sierra, OSX 10.11 El Capitan, OSX 10.10 Yosemite, OSX 10.9 Mavericks and OSX 10.8 Mountain Lion including admin and standard user accounts can be reset and changed when booted from the Recovery Partition on macOS.
How To Recover Your Administrator Password On A Macbook
Boot into Recovery Partition
Reboot into the Recovery Drive by choosing the ‘Apple‘ menu > Restart, hold down the ‘command’ + ‘r’ keys on the keyboard during the start up process, when you see the start up screen you can let go. When the machine boots eventually you will see the macOS or OS X Utilities screen.
Go to the Utilites menu and select Terminal
How To Recover A Forgotten Password
At the prompt type ‘resetpassword’ (hit enter)
This launches the Reset Password screen, select the Volume Hard Drive in the top part of the window pane, then for the user that you need to reset select the user account in the lower part then add and confirm the new password and click save, you get a confirmation screen and details about the keychain account.
Go to the Apple Menu and click Restart to boot back to the normal hard drive and the new password will take effect immediately.
Recover Password Mac Os X
If you are using macOS Mojave the screen you see is a little friendlier, just select the account you want to reset the password on and follow the instructions.