Resetting OS X Password

The simplest way is by Restarting Setup Assistant

Restart the Setup Assistant and create a new Administrator account, then use that account to reset the password to the original account.

You can restart the Setup Assistant by performing the following:

Boot into Single User Mode (hold ⌘ cmd + S at boot).

Read More