Linux Grub Password Settings

Source: Internet
Author: User

Linux Grub Password Settings

Grub password is divided into plaintext and ciphertext

1, clear text settings only need to be edited in the vim/etc/grub.conf file, the specific

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/5B/44/wKioL1UET-CQMUzRAAUstqRiq7Y691.jpg "title=" Grub does not encrypt. png "alt=" wkiol1uet-cqmuzraaustqriq7y691.jpg "/>

2, ciphertext settings are divided into several types of encryption: now using Grub-md5-crypt to encrypt encryption, such as:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/44/wKioL1UEULvRMH1xAAFmLq-Azoc102.jpg "title=" A.png " alt= "Wkiol1ueulvrmh1xaafmlq-azoc102.jpg"/>

Copy the ciphertext generated by the dough into the/etc/grub.conf file, and then save the exit on it, such as:


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5B/44/wKioL1UEUS_TOhIRAAVR2kRIdnQ410.jpg "title=" Grub encryption. png "alt=" wkiol1ueus_tohiraavr2kridnq410.jpg "/>


There is another encryption algorithm: Grub-crypt--sha-256 encryption method.

Entering the Grub-crypt--sha-256 command at the command line, and then entering the password, produces a long string of characters, which is then added to the configuration file using the Passwor--sha.

Small White's experimental note, if you have any questions, please try to correct me. Thanks a lot!






This article is from the "Communication" blog, please be sure to keep this source http://sxct168.blog.51cto.com/824373/1620442

Linux Grub Password Settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.