Yosemite won't accept administrator password
Once you are in the Recovery Mode, click in the menu on Utilities, then Terminal.
Type resetpassword then enter.
Follow the instructions on screen


Warning: Your keychain can only be unlocked with the old password.