How to gain access after you lost your password
It is possible that you have lost your password or changed your keyboard language input and cannot access your Mac anymore. In this case there are several options. First of all, check if your keyboard is still working properly by connecting an external keyboard to your Mac. If your external keyboard is working, chance are that you Macs keyboard is defect. If you still encounter problems with your external keyboard, we can continue to reset your Macs password.
Do one of the following:
- Reboot your Mac while holding down the Command key and R. Keep holding the key combination until the loading bar appears.
- Once in the Recovery Mode, select Terminal from the Utilities menu.
If things just got a bit too geeky for you, don’t be alarmed. If you follow the next few steps, you’ll recover your lost admin password in no time.
- Type “resetpassword” in the Terminal window and hit enter.
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.
- Ordered List ItemLog in with your new admin password.
If this doesn't work try the next thing:
- Restart your Mac and hold down Command-S at the boot chimes.
- Ordered List ItemWhen you see the command prompt, enter the following command to put the boot drive into read and write mode:
mount -uw
- Now run the following command to load Open Directory (Apple’s account directory service in OS X):
launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
- Reset the password for your user account by entering the following command (replace “username” with the short name of the desired account)
passwd username
If this doesn't work you could try one last thing:
- Reboot into Recovery mode or Internet Recovery by holding Command-R at startup.
- Choose Terminal in the Utilities menu.
- Enter resetpassword (all one word, and lowercase) in the Terminal window and press Return.
- Select your boot drive in the utility that appears.
- Choose your user account from the pop-up menu.
- Click the button to reset the account’s password and supply a new one when prompted.
If you use FileVault encryption with your Mac, the password reset utility will not show your boot drive until you first unlock it with Disk Utility. To do this, open Disk Utility where you will see your drive grayed out in the list of devices. Select it and click the Unlock toolbar button and then, after supplying your password to unlock the drive, you can select your disk in the password reset utility.
Enjoy,
Your ArtIT Team