Skip to content

Instantly share code, notes, and snippets.

@joemaffia
Last active December 15, 2015 04:19
Show Gist options
  • Save joemaffia/5200434 to your computer and use it in GitHub Desktop.
Save joemaffia/5200434 to your computer and use it in GitHub Desktop.
Mac locked with password

Boot in single user mode

Command+s

Run

This method tricks OSX into thinking the computer it’s brand new and leads you through the setup to create a new administrator account.

Mount -uw /
Rm /var/db/.AppleSetupDone
Shutdown -h now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment