



Click Update Keychain Password and enter the old password at startup, or continue login and enter old password when you are asked.Ģ. Update keychain password if you still remember the old one:ġ. Note: If you are not sure the shortname, please confirm it with command "ls /Users" at first.Īfter Mac starts, you should have created a new keychain on Mac. Rm /Users/shortname/Library/Keychains/login.keychain
#Reset mac password with command prompt mac os x
After you are prompted to enter a command-line after numerous lines of status messages, type this command to mount the root Mac OS X drive as writable. Restart Mac and hold on Command + S to enter single user mode.Ģ. If you cannot work with Keychain Access because of something like Messages Agent constantly asking for the forgotten login keychain password, you can use command line to reset Keychain password in single user mode.ġ. Method 2: Reset Keychain password with command line in single user mode A new login keychain will recollecting and storing the passwords for Wi-Fi networks, email accounts, Web sites, and other logins as they occur. Note: If you have no such button, choose Edit Keychain List (Command + Option + L), select the login keychain, and click the minus button to delete it.Ĥ. Click it and enter the new login password in Password field to create new keychain. In newer versions of Mac OS X, such as on Yosemite, you will see a button Reset My Default Keychain under the General pane.ģ. Open Keychain Access from Finder> Applications Utilities, and choose Keychain Access Preferences from top menu.Ģ. Method 1: Reset Keychain login password in Keychain AccessĪfter you log into Mac with new administrator password, follow the steps below.ġ. Method 2: Reset Keychain password in single user mode.Method 1: Reset Keychain login password in Keychain Access.Regardless of which happens, resetting keychain password would help you access Keychain again. Probably you are just prompted to do that at startup after Mac admin password reset, such as on Yosemite, or constantly asked to enter the keychain password after Mac login. Since the keychain is still protected with the old administrator password, there would be no way to get back into it unless you could update keychain password or create new keychain. No matter which method you use to reset administrator password on mac, it won't automatically update the password protecting the account's login keychain. If you used OS X Recovery to reset your password, you may be unable to use your old keychain after following those steps.How to Reset Keychain Password after Mac Password Change Note that y ou can create a Recovery USB drive too -> If you forget your password with FileVault, you lost your data. Finally, reboot, and you will have changed the user password successfully. Once you see the "OS X Utilities" window, go to Utilities -> Terminal, and type:.If your Mac has got a wireless keyboard, press them when you hear the startup sound. If you have a Mac with Internet Recovery, read ->. Press Command and R keys while your Mac is starting up and hold those keys until you see the Apple icon.In that case, you are forced to reset the password through OS X Recovery. Sometimes it is not possible to log in your user if you forgot its password. Choose the user you want to change the password to and select Change Password. You should see all the user accounts in the sidebar.Boot your Mac and go to System Preferences -> Users and Groups.You can only follow these steps if you still remember your password: If you can log in your user account and you remember your password: There are two ways to reset the user password in OS X Lion, Mountain Lion or Mavericks: 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). Some users want or have to change their user password.
