Generate encrypted Grub password using command
#>grub2-mkpasswd-pbkdf2
copy generated encrypted password. like below
----------------------------------------------------------------------
PBKDF2 hash of your password is <grub.pbkdf2.sha512.10000.7970913BCB962B102B8B84CB3290810A6FC267A4319E0041B8E591818BF1FB8C72D252E866464BABAD613756A21157633ED5A5A629786D48A5BD0CCD1C9E92D3.76E22AE403D2C4983261973E9D38311DDC91D58229782C6E5DCAF02F15A1A67AFC34ED4EE82A77ED7EF62DFC3012289AC49526A787F7B66802A3FD391CE2EA34>
edit ---> /etc/grub/grub2.cfg
in First Line paste below lines
----------------------------------------------
set superusers="root"
password_pbkdf2 root grub.pbkdf2.sha512.10000.7970913BCB962B102B8B84CB3290810A6FC267A4319E0041B8E591818BF1FB8C72D252E866464BABAD613756A21157633ED5A5A629786D48A5BD0CCD1C9E92D3.76E22AE403D2C4983261973E9D38311DDC91D58229782C6E5DCAF02F15A1A67AFC34ED4EE82A77ED7EF62DFC3012289AC49526A787F7B66802A3FD391CE2EA34
#### ( ! ) check password hashing is corrctly copied then only Save and Reboot your system.
#>grub2-mkpasswd-pbkdf2
copy generated encrypted password. like below
----------------------------------------------------------------------
PBKDF2 hash of your password is <grub.pbkdf2.sha512.10000.7970913BCB962B102B8B84CB3290810A6FC267A4319E0041B8E591818BF1FB8C72D252E866464BABAD613756A21157633ED5A5A629786D48A5BD0CCD1C9E92D3.76E22AE403D2C4983261973E9D38311DDC91D58229782C6E5DCAF02F15A1A67AFC34ED4EE82A77ED7EF62DFC3012289AC49526A787F7B66802A3FD391CE2EA34>
edit ---> /etc/grub/grub2.cfg
in First Line paste below lines
----------------------------------------------
set superusers="root"
password_pbkdf2 root grub.pbkdf2.sha512.10000.7970913BCB962B102B8B84CB3290810A6FC267A4319E0041B8E591818BF1FB8C72D252E866464BABAD613756A21157633ED5A5A629786D48A5BD0CCD1C9E92D3.76E22AE403D2C4983261973E9D38311DDC91D58229782C6E5DCAF02F15A1A67AFC34ED4EE82A77ED7EF62DFC3012289AC49526A787F7B66802A3FD391CE2EA34
#### ( ! ) check password hashing is corrctly copied then only Save and Reboot your system.
No comments:
Post a Comment