How-To Reset Your Password on OSX

Today, my friend forgot her OSX password and even i am not a OSX user, I am UNIX user so reseting password were not difficult :) . In order to reset your user password;

  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
  4. Reboot

Or you can just type "password username" and change your user’s password after mounting "/"

 

Leave a Reply