Home > Operation and Maintenance > Safety > How to understand grub password

How to understand grub password

WBOY
Release: 2023-05-16 10:13:05
forward
1544 people have browsed it

The grub password is divided into: full zone password (you need to enter the grub global password to modify the grub label after setting) and menu password (you need to enter the grub menu password to boot the system after setting)

If you forget the grub global password, you can enter Rescue mode (rescue, similar to winPE), reset grub password

In addition to plain text, grub password can also use encrypted cipher text.

grub encryption tools include: grub-md5-crypt and grub-crypt

grub-md5-crypt: MD5 encrypted password output

grub-crypt : If possible, select the encryption method --md5, --sha-256, --sha-512 (default)

Edit the file /boot/grub/grub.conf

Settings The GRUB global password format is as follows:

hiddemenu

password=plain text password or password --md5 MD5 cipher text or password --encrypted sha cipher text

Set GRUB The menu password format is as follows:

title

password=plain text password or password --md5 MD5 cipher text or password --encrypted sha cipher text

The above is the detailed content of How to understand grub password. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template