I'm attempting to password protect EDITING of the grub menu on boot. I've generated a hash for the password with grub-mkpasswd-pbkdf2
and entered the following in the /etc/grub.d/40_custom
file:
set superusers="grubadmin"
password_pbkdf2 grubadmin grub.pbkdf2.sha512.10000.874B9326A498Y237D4923.....
Then, after I ran update-grub
and rebooted.. I noticed that even automatically booting into the default kernel is asking for a password. I was under the impression that this password is only for EDITING the grub menu, which is what I want to accomplish. The server should boot into the default kernel without a password requirement. What am I doing wrong? I am running Ubuntu 14.04.5.