Marc Goldberg's Blog
OS X tip of the day: reset admin access without install media

  1. Boot single user mode by holding down command-s immediately after the “boot bong”
  2. Get the disks mounted by running “sh /etc/rc”
  3. Run the command “passwd admin” to set the password for the admin account to something you now know (or “passwd marc” or whatever if you prefer to change the password for a different user).
  4. Run the command “reboot” and login.