password problems

He tried to add a new printer through the Add button, which requested a password that will not be accepted. Since then, I have tried to reset the grub root and user passwords and now I can not go back to the grub or to the terminal. Passwords do not work.