Tuesday, February 7, 2012

How to reset an OS X password without a disk

Click Restart at the login window:

While the computer is restarting, hold down "Command-S" until you see text scrolling through the window. This boots the computer into single user mode.

Next, you must mount the root drive as writable so that changes will save:
mount -uw /
Now, type the following command exactly, followed by the enter key:
rm /var/db/.applesetupdone


Restart, then OS X will boot up and present you with the option to create a new user account that will have admin rights.

    No comments:

    Post a Comment