Reset root or user password

Screen-shots:

Grub2 Menu after selecting the first entry in the list and pressing e to edit:

Edit like this:

System boots to # prompt then set password as shown:

The last line shows the command to exit this shell:

Do test your new password ASAP just to be sure. Remember:

To reset root password:

# passwd root

To reset a user password:

# passwd user_name