Mac OS X v10.6 or later: Choose Password Reset from the Utilities menu.Choose a language, click the arrow button to continue,.Or, you can use Startup Manager or the Startup Disk preference pane to select the Install disc. Or, put it in the computer and click the Install or Restore icon you see in the disc's main window (after which the computer will start from the disc without you needing to hold C). Usually, you can start from the disc by putting it in your computer, restarting, and holding the C key.
These steps require an optical drive if your Mac does not have an optical drive and you have a Mac OS X v10.6 Install disc, see below.
If the original administrator password is known, that administrator account may be used to reset the passwords of other administrator accounts using the steps described above. 'Original' administrator account refers to the one that was created immediately after installing Mac OS X. In Mac OS X v10.6.8 or earlier, follow these steps to reset a password when there is only one administrator account on the computer, or if the original administrator account needs a password reset. In OS X Lion or later, you can reset your user password with your Apple ID.