Some of the other guides I’ve seen are inaccurate and didn’t work very well for me. This did.
You can change your account password, but you cannot change your keychain password. Your login keychain has the same password as your account, which you lost. You have to delete it. You’ll lose everything in it. Sorry. Consider buying a .Mac account (which syncs Keychains) while you’re doing this.
- Boot (or reboot) your Mac. Hold down Command-S while it boots.
- Your Mac will boot into a textual single-user mode. At the
# prompt, run:
/sbin/mount -uw /
- Now, run:
passwd your-login-name
- Enter your new password. Now, run
reboot
- You system will boot. Log in with the password you just set. You’ll get a message about your login keychain. Hit “Cancel.”
- Open Finder. Navigate to
Library/Keychains in your home directory. Trash login.keychain
- Log out, then back in.
-
That’s it.