#774517 grub-pc: README material to help in troubleshooting password setting

Package:
grub-pc
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (PC/BIOS version)
Submitter:
Yann Dirson
Date:
2015-01-03 20:51:06 UTC
Severity:
wishlist
#774517#5
Date:
2015-01-03 20:46:58 UTC
From:
To:
When setting up grub to password-protect commandline edition (see
configuration hints in my comment to #545163), it can take some effort
in case of error to determine whether the password is wrong, or
whether it is wrongly entered because of the keyboard layout.

What I wanted to do is to check that the password I expected was the
one in the password_pbkdf2 statement, which required a bit of work,
since grub-mkpasswd-pbkdf2 generates a new salt on each run.

The attached python script generates the hashed password from the
password and the salt.  Comparison is lefta as an exercise through
visual inspection :)