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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to