Aug5

Changing osx root password

Posted by: Brian Chan | Filed in: technology | Tags: | 07:55 am, August 5th, 2010 Add comments

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!



Related posts:

  1. Server Lock Example
  2. Copying lots of files safely

Leave a Reply