lost_mac_password
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lost_mac_password [2021/02/13 12:54] – chris | lost_mac_password [2021/02/13 13:03] (current) – chris | ||
---|---|---|---|
Line 1: | Line 1: | ||
**How to gain access after you lost your password** | **How to gain access after you lost your password** | ||
- | It' | + | 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. |
Do one of the following: | Do one of the following: | ||
Line 8: | Line 8: | ||
- Once in the Recovery Mode, select Terminal from the Utilities menu. | - 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. | 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.// | + | - 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.// | + | 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 storage device that contains the operating system. | ||
- Select the admin account. | - Select the admin account. | ||
Line 17: | Line 17: | ||
- Ordered List ItemLog in with your new admin password. | - Ordered List ItemLog in with your new admin password. | ||
- | If this doesn' | + | If this doesn' |
- | 1. Restart your Mac and hold down Command-S at the boot chimes. | + | - Restart your Mac and hold down Command-S at the boot chimes. |
- | 2. When you see the command prompt, enter the following command to put the boot drive into read and write mode: | + | - Ordered List ItemWhen |
- | mount -uw / | + | mount -uw |
- | 3. Now run the following command to load Open Directory (Apple’s account directory service in OS X): | + | |
- | launchctl load / | + | |
- | 4. Reset the password for your user account by entering the following command (replace “username” with the short name of the desired account) | + | launchctl load / |
- | passwd username | + | |
+ | - 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' | If this doesn' | ||
+ | - 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. | ||
\\ | \\ |
lost_mac_password.1613217257.txt.gz · Last modified: 2021/02/13 12:54 by chris