Basically allowing you to create a new admin account:
Log in under single-user mode (cmd-S at boot)
Mount your drive (/sbin/mount -uw / ) at the command line
type command: rm /var/db/.AppleSetupDone
type command: reboot
This makes your computer think it's the first time starting up, and allows for creation of a new administrator account.
Log in under single-user mode (cmd-S at boot)
Mount your drive (/sbin/mount -uw / ) at the command line
type command: rm /var/db/.AppleSetupDone
type command: reboot
This makes your computer think it's the first time starting up, and allows for creation of a new administrator account.