Hi Adrian!

Thank you for the reply!

Am 13.02.2018 um 11:02 schrieb John Paul Adrian Glaubitz:
> Did you actually try setting a password without patch GRUB2? We
> just added the following to /etc/grub.d/40_custom:
> 
> #!/bin/sh
> exec tail -n +3 $0
> # This file provides an easy way to add custom menu entries.  Simply
> type the
> # menu entries you want to add after this comment.  Be careful not to
> change
> # the 'exec tail' line above.
> 
> #Password Protection
> set superusers="root"
> password_pbkdf2 root grub.pbkdf2.sha512.10000.<password hash>

This works like a charm!
Another upstream package we can use as is.
 Thank you!

Probably we would have been able to go without patching in the first place.


Max

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to