Reset Apple OS X password


I don’t know about you but administering Macs is a whore of a job. The good stuff though is the bottom end of it being a BSD/Linux system you can do stuff like reset the admin password when a user brings you their Mac from home and begging you to help:

Power on the Mac, push and hold AppleKey+S and it’ll boot in to single user mode (God/Root)
Do ‘mount -uw /’
Do ‘rm /var/db/.AppleSetupDone’ (Makes the OS think it hasn’t been initiated yet)
Do ‘shutdown -h now’

Upon power up you are greeted with the OS thinking it’s all new and shiny. Register a new account (not one that exists) and bang, you have a new admin account and can reset the password to the old one if you wish.

Leave a comment