reset mac password

How to reset root password on Mac OSX

Last time I got my Mac and set root password on it. After a while I forgot the password when I need to set the system. Luckily, I found the easy step to reset the password without mac osx boot dvd.
today I’ll share how to reset root password (or any user password) on Mac OSX with simple step.
NOTE : I tried this on Mac OSX Snow leopard. Other version i’m not sure if it works.


Here is the steps:

  1. Reboot the Mac and hold down Command+S at boot. After a while you will enter into the command line.
  2. Type the command to check the Mac OS X filesystem for errors and fixes them :
    fsck -fy
  3. mounts the root Mac OS X drive as writable :
    mount -uw /
  4. reset root password :
    passwd root
  5. type new password and confirm the changes
  6. reboot the Mac :
    reboot

About Thomas G

Thomas G is a founder and editor of Evenbright. He is a tech entusiast. Currently he is working as a Senior Software Developer in a travel company.

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*