Forgotten your password? Don’t have the install CDs or the time to reinstall the OS?
Create an Admin account and reset the password in less than five minutes!
What this method basically does is tricks the computer into thinking you just bought it, and lets you do the initial setup (Creating an Admin Account)
This has worked on every Mac and OS X version I have tried (Computer in the video is El Capitan)
Boot while holding the “Command + S” keys
Type “mount -uw /” and hit Enter
Type “rm /var/db/.Applesetupdone” hit enter
Type “reboot” and hit Enter
Its that easy!
Video “How to Create an Admin Account on any Mac OS X Computer” Author: EvansEssence