Get the App
SLTechnology News&Howtos  ›  Network Security  › 

How to understand grub password

Shulou Source: shulou.com Published: 2022-05-31 16:38:37 10月02日 Update

How to understand the grub password, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

Grub password is divided into: region password (grub global password is required to modify grub tags after setting) and menu password (grub menu password is required to boot system after setting)

Grub global password forgotten, you can enter the rescue mode (rescue, similar to winPE), reset the grub password

Grub passwords can use encrypted ciphertext in addition to plaintext.

Grub encryption workers have: grub-md5-crypt and grub-crypt

Grub-md5-crypt: output of MD5 encryption for passwords

Grub-crypt: if you can choose the encryption method-md5,-- sha-256,-- sha-512 (default)

Edit file / boot/grub/grub.conf

Set the GRUB global password format as follows:

Hiddemenu

Password= plaintext password or password-md5 MD5 ciphertext or password-encrypted sha ciphertext

Set the password format for the GRUB menu as follows:

Title

Password= plaintext password or password-md5 MD5 ciphertext or password-encrypted sha ciphertext

After reading the above, have you mastered how to understand the grub password? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Password ciphertext encryption global plaintext menu content method more format problem input helpless for this region-wide reason skill file method Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Huawei MySQL vpn Shulou Tech Info