How to reset Mac password if you don’t have the right version of the Mac OS X disc.
Here are the steps to get it done, without any explanation:
- Reboot
- Hold down Command + S after you hear the chime
- Mac should boot into a terminal, if not retry step 2
- mount -uw /
- launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
- ls /Users
- passwd <username>
- rm -rf /Users/<username>/Library/Keychains/login.keychain
- Reboot and login with the new password