Change root password in OS X

Apple makes it pretty difficult to get root on the newer OS X builds. Here is one way of resetting your root password on OS X:

$ sudo su -
Password: (type your USER password if prompted)
# passwd root

Alternatively, do sudo /bin/bash and then a passwd root.

  • Share/Bookmark

3 Comments

MichalOctober 8th, 2007 at 12:11 pm

Awesome! You have no idea how long I have been looking for this.

azzyOctober 31st, 2009 at 9:53 am

You are simply brilliant

jahanzebmisJune 23rd, 2010 at 8:49 pm

Gr8888888888……… thanks den.

Leave a comment

Your comment