Зарегистрируйтесь сейчас для лучшей персонализированной цитаты!

How to Reset a Mac's Administrator Account Password

Sep, 27, 2024 Hi-network.com

What to Know

  • Log into a different administrator account and reset the primary account's password inPreferences.
  • Use theReset it using your AppleID/AppleAccountoption after trying to log into your computer three times.
  • Use theresetpasswordTerminal command after logging into the Recovery HD partition.

This article discusses how to reset the password of an administrator account on a Mac.


Use an Existing Administrator Account to Reset Another Administrator Account

Resetting an administrator account isn't difficult, as long as you have a second administrator account to use.It's a good idea to have a second administrator account set up for troubleshooting various issues, including forgetting a password.

Of course, that only works if you haven't also forgotten the password for the other administrator account. If you don't remember that password either, try one of the other methods outlined below.

  1. Log in to a second administrator account.

  2. LaunchSystem Preferences, and select theUsers & Groupspreference pane.

  3. Click thelockicon in the bottom left corner of the preference pane and enter your administrator password.

  4. In the left-hand pane, select theadministrator accountwhose password needs to be reset.

  5. Click theReset Passwordbutton in the right pane.

  6. In the screen that drops down, enter a new password for the account, verify it, and provide an optional password hint, if desired.

  7. ClickChange Password.

Resetting the password this way creates a new keychain file for the user account. If you want to use the old keychain file, see the instructions below.

Using Your Apple ID/Apple Account to Reset an Administrator Account

One of the features introduced with OS X Lion is the ability to use your Apple Account to reset your administrator account on your Mac. You can use this feature to reset the password for any user account type, including a standard account, managed account, or sharing account.

To use your Apple Account to reset an account's password, the Apple Account must be associated with that account. You would have associated your Apple Account with your user account either when you initially set up your Mac or when you added user accounts.

TheAllow user to reset password using Apple Accountmust be checked inSystem Preferences>Users & Groupsfor this method to work.

  1. Enter your password incorrectly three times at the login screen. You'll see a message that displays your password hint if you set one up, and the option to reset your password using your Apple Account. Click the small right-facing button next to the...reset it using your Apple Accounttext.

  2. Enter your Apple Account and password and then click theReset Passwordbutton.

  3. A warning message will display, telling you that resetting the password will cause a new keychain file to be created. Your keychain holds frequently used passwords, so creating a new keychain usually means you'll have to resupply passwords for some services you use, including email accounts and some websites you've set up for automatic login. Click theOKbutton to reset the password.

  4. Enter the new password along with a password hint and clickReset Password.

You'll be asked to restart when you are done.

Reset Your Administrator Password Using the Recovery HD Partition

Apple includes a Recovery HD partition on newer Macs. It contains a Reset Password option.

  1. Restart the Mac while holding down theCommand+Rkeyboard combination to enter the macOS Recovery partition. Release the keys when you see the Apple logo on the screen.

  2. SelectUtilities>Terminalto open a Terminal window.

  3. Typeresetpasswordand pressReturnto open the Reset Password screen.

  4. SelectI forgot my passwordfrom the available options.

  5. Enter the password for the account's Apple Account.

  6. Apple sends an authentication code to another Apple device registered to the same Apple Account. If you don't own another Apple device, you can opt to receive the code by phone or SMS text. Enter the code in the field provided.

  7. Enter the new password and, optionally, a password hint. 

  8. Restart the Mac.

Your administrator password has been reset.

First Login With New Password

When you first log in after changing your administrator password, you are greeted with a dialog box telling you that the system wasn't able to unlockyour login keychain.

  • There are three ways to continue. If you happen to remember the old login password, you can click theUpdate Keychain Passwordbutton. It's unlikely that you'll suddenly remember the password, so you probably need to use one of the other two options.
  • The second option is to create a new keychain that uses your new password. This option creates a nearly empty keychain file that is accessed using your new password. This option resets your keychain, so you'll need to supply passwords for various services, such as Mail and websites that require usernames and passwords. Click theCreate New Keychainbutton.
  • The last option is not to do anything with the keychain system. You can finish the login process by clicking theContinue Log Inbutton, which takes you to theDesktop. This is a temporary solution; the next time you log in, you'll be presented with the same keychain dialog box.

It may seem like a huge problem that your original login keychain is locked to the original password, and you find yourself forced to not only create a new keychain but also to resupply all those account IDs and passwords that you've built up over time with your Mac.

Having the login keychain locked from access is a good security measure. You wouldn't want someone to sit down at your Mac and use one of the methods outlined here to reset your administrator account. If resetting the administrator account also reset the keychain files, then anyone could gain access to the login information you use with many services, including banking, credit cards, investments, and all the other websites on which you have accounts. They could also start sending and receive messages using your email account or use Messages to impersonate you.

It may seem like a major hassle to have to recreate all of your old login information, but it sure beats the alternative.

Avoiding the Keychain Login Issue

One thing you can do is use a secure third-party password service as a place to store your login information for various services. This isn't a replacement for Mac's keychain but a secure storehouse for you to keep the information safe, one which you can access using a different, and hopefully not forgotten, password.

1Password is good, but there are many others to choose from, including LastPass, Dashlane, and mSecure. If you want to find more password management options, open the Mac App Store and search for the wordpassword. If any of the apps look interesting, check the manufacturer's website. Many times they include demos that aren't available from inside the Mac App Store.

Make sure the Caps Lock key isn't active when you type in your password. That or any change in capitalization renders your case-sensitive password unacceptable.

FAQ
  • How do I change my admin name on my Mac?

    In the upper-left corner of the screen, select theApple icon >System Preferences>Users & Groups. Next, select thelock icon and enter youradmin password. Press and hold theControlkey>choose the account you want to rename >Advanced Options. Set your new account name, selectOK, then restart your Mac.

  • How do I delete an admin account on my Mac?

    First, log in as an admin, then select theApple icon >System Settings > Users & Groups. Next, select theiicon next to the account you want to delete >Delete Account. Choose a Home folder option (save, don't change, delete), then selectDelete Account.

tag-icon Горячие метки: Computers

Copyright © 2014-2024 Hi-Network.com | HAILIAN TECHNOLOGY CO., LIMITED | All Rights Reserved.