Grub password

Projekt:Trisquel mini
Version:7.0
Komponente:Miscellaneous
Kategorie:Fehlerbericht
Priorität:normal
Zugewiesen:nicht zugewiesen
Status:active
Beschreibung

Grub password is enabled by default when installing and the install program neither gives you the password, lets you decline using a password, or even inform you that all of your other grub options will be inaccessible unless you look up the password. This seems contrary to the principles of free software, since it removes control of a portion of the computer without even notifying the user. Very poor first impression.

Mi, 02/24/2016 - 12:37

GRUB security features allows you to set a password to the grub entries. Once you set a password, you cannot edit any grub entries, or pass arguments to the kernel from the grub command line without entering the password.
so sudo needs a password.

if you want to reset this password you need to:

Use the up-arrow and down-arrow keys to select which entry is highlighted.
Press enter to boot the selected OS,
'e' to edit the commands before booting,
'a' to modify the kernel arguments before booting, or
'c' for a command-line

/boot/grub/grub.conf contains information about the entries that are displayed in the GRUB menu during system startup. On some systems, /etc/grub.conf is a symbolic link to /boot/grub/grub.conf

Add the “password” line to the grub.conf file.

Do, 03/10/2016 - 14:57

I fixed the problem on mine, but there are multitude of forum posts that demonstrate that this is not a desirable behavior.

Do, 03/10/2016 - 17:30

It's even worse if you have a hybrid ssd/disk hard drive, as grub is stored in the inaccessible (?) ssd portion of the hybrid drive. My combination of a laptop and external, usb-connected hybrid drive exhibits the behavior that updating the grub password is not possible once it's been used.