i am not able to configure the grub password for centos
I have tried below commands and entered the password
Code: Select all
$grub2-mkpasswd-pbkdf2
Code: Select all
$vim /etc/grub.d/40_custom
set superusers="root"
export supersers
password_pbkdf2 root grub.pbkdf2.sha512.10000.5ABA329213541CA203FED5DCC68884CF7FCAC281DD451D50E5AD0F6A5C7E85B0E61AAB0D115AD664908D44224736C084900173A3C88E7C428C0F9B2ADA3C2628.30109CA7DB760037E71E6C1584177DDB7D1C4898F05D66E2B157F290EAB0F37A7C9813DD4458F9435DE1BE087FCCCCFB9D2902068770CEA6E4778D0EBEE32431
Code: Select all
grub2-mkconfig -o /boot/grub2/grub.cfg
it is not asking username and passworld it is directly entering to command and grub mode
i have applied similar steps in centos 7.3 installed in Virtual Machine it is working fine
but when i try it on directly on local machine it is not working
I have installed centos 7.3 in laptop
Can you please advice how to resolve this issue.