Step slowly through the install process until you see the menu bar appear at the top of the screen.
Choose Utilities (or some such name) and then choose Password Reset.
Follow the instructions and you are good to go
I haven't used my Mac Pro laptop for a while and I can't remember the password, nor can I remember the master password. How do I get in to reset the passwords?