Monday, May 28, 2012

Reseting the Default Root Password on OSX

If you have ever set the root password on an OSX machine using the: passwd
Command you may be wondering how to reset it back to the default;

rm /var/db/shadow/hash/FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000000*

Edit /var/db/dslocal/nodes/Default/users/root.plist

Remove the key "authentication_authority" and any values it has.

Reboot the machine.

No comments:

Post a Comment