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