A
A
Anatoly D2019-08-07 18:39:50
linux
Anatoly D, 2019-08-07 18:39:50

Why does grub2.02 require a password on any boot?

Gentlemen and ladies, greetings.
I finished tuning Ubuntu, but with pain in my heart I confess that when I tried to password-protect access to the hornbeam, everything turned out better than I planned.
Moreover, it was so successful that the password must be entered at any boot, and not just when trying to boot in single user mode. This is actually the problem.
Did it like this:

sudo gedit /etc/grub.d/40_custom
set superusers="root"
password_pbkdf2 root grub.pbkdf2.sha512.10000.2B8A9DBC7118B6FA0A4BE9E7CB137ED8F139889F95D86D0A98547B12F78955D10BC8F86904722118CA543B5D46B9EC69CB3C9B53117BFB24EF63818B7C629F01.7B6D80CACB009C4AB2E7519B3F2937B2293925A4CC273A270C96632776530ADFAB3622443CF4608EC6F209E78057FF672DD90583E8EF2CD99DE5660B18B6C60C

grub-mkconfig -o /boot/grub/grub.cfg

Be so kind as to help keep the hornbeam password-protected, but at the same time, so that it does not disturb ordinary users.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lorc, 2019-08-07
@imurd

It seems that everything is clearly described in the documentation :
Therefore, you need to go through all parts of the grub config and menuentryadd --unrestricted.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question