help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unencrypted password in EFI mode


From: paul kerdren
Subject: Re: Unencrypted password in EFI mode
Date: Fri, 5 Jun 2020 10:12:12 +0200

Yes, they are the same.
I edit the file /etc/grub.d/01_users to create the grub.cfg file with
grub2-mkconfig.

my 01_users look like this :
#!/bin/sh -e
cat << EOF
set superusers="root"
export superusers
password root root
EOF

This works in BIOS mode but not in EFI mode.

Le jeu. 4 juin 2020 à 16:25, Randy Goldenberg <randy.goldenberg@gmail.com>
a écrit :

> On Wednesday June 03, 2020, paul kerdren wrote:
>
> >Hello,
> >
> >I know it's a really bad practice but I would like to understand the
> >differences between BIOS and EFI mode in grub.
> >
> >When I put "password user insecure" in the /boot/grub2/grub.cfg file in
> >BIOS mode, grub recognizes my password and allows me to edit the grub
> >configuration.
> >
> >On the other hand, when I'm in EFI mode (/boot/efi/EFI/centos/grub.cfg),
> >the password doesn't work and I have the punishment delay increasing.
> >The password_pbkdf2 command works correctly.
>
> Are the contents of /boot/efi/EFI/centos/grub.cfg the same as
> /boot/grub2/grub.cfg?
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]