Changing osx root password

I hope this will never happen to you. But if you ever forgot your root password, then follow these steps to reset it. I cannot guarantee this method will work for all versions of osx, but it worked for me on my mac mini 1.5 GHz model at least.

  1. Hold Apple+S when booting, you will then enter the single user mode
  2. Run “/sbin/mount -uw /”. If you read through all the bootup comments it’s somewhere in there. It basically enables you to make changes to your hard drive.
  3. Run “passwd”. Then put in your new root password twice.
  4. Run “exit”. The reboot process should begin. You are done!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s