For those concerned that Grub lets drop to root shell prompt so easily, there's a way to generate a password for Grub.

https://askubuntu.com/questions/656206/how-to-password-protect-grub-menu

Generate hash:

$ grub-mkpasswd-pbkdf2

Edit Grub configuration:

$ sudo nano /etc/grub.d/40_custom

Type this and save, filling in your user name and the hash just generated by the first command:

set superusers="username"
password_pbkdf2 username hash


Reply via email to