Reset OS X Password

I actually needed to do this for someone who had purchased a macbook and then did not use it for a bit, and subsequently forgot what they had set the admin password to. So this details how to reset the mac back and rerun the intsall utility so that you can recreate the new admin account and then delete the old one. I know that I tested this on a really old version of OS X so I am sure that this would / should work on future versions of OS X however as always, if this has changed I would enjoy some feedback.

To reset your OS X password without an OS X CD you need to enter terminal and create a new admin account:

  1. Reboot
  2. Hold apple + s down after you hear the chime.
  3. When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):
    • mount -uw /
    • rm /var/db/.AppleSetupDone
    • shutdown -h now

After rebooting you should have a brand new admin account. When you login as the new admin you can simply delete the old one and you’re good to go again!

  • Share/Save/Bookmark

Devin’s Knowledge Blog is Digg proof thanks to caching by WP Super Cache!