Bug#773138: grub upgrade makes booting require a password
Jochen Bartl
jochenbartl at mailbox.org
Thu Dec 25 14:36:47 UTC 2014
Hello *,
I've been trying to setup password protection for editing Grub menu
entries and ran into the same problem that even booting requires a password.
After a bit of research I found the following link to Fedora's bug tracker:
https://bugzilla.redhat.com/show_bug.cgi?id=840204#c32
It seems like they settled for a solution that looks like this.
Add a new variable to default/grub
/etc/default/grub
GRUB_RESTRICTED="false"
And then setting --unrestricted in /etc/grub.d/10_linux if the variable
is set to "true:
if [ ${GRUB_RESTRICTED} == "true" ]; then
CLASS="--class gnu-linux --class gnu --class os"
else
CLASS="--class gnu-linux --class gnu --class os --unrestricted"
fi
Best regards,
Jochen
More information about the Pkg-grub-devel
mailing list