linux6 in grub menu plus password
Grub Plus Password Purpose: To prevent others from modifying grub for boot settings such as kernel, and in single-user mode to start the root password and other operations. In fact, this step can be set in the process of installing the system, after the installation of the system, the following steps:
-
First generates a/sbin/grub-md5-crypt cipher string with MD5 command as follows:
[[email protected] ~]#/sbin/grub-md5-crypt
Password:
Retype Password:
650) this.width=650, "src=" Https://s3.51cto.com/wyfs02/M00/98/61/wKiom1k6uOjRHvKgAAAQ1CR4a1Q424.png "title=" 301.PNG " alt= "Wkiom1k6uojrhvkgaaaq1cr4a1q424.png"/>
-
Modify the grub.conf file with the following command:
[[email protected] ~]# vim/etc/grub.conf
650) this.width=650; src= https://s3.51cto.com/wyfs02/M00/98/61/ Wkiol1k6udwrhgewaaaylqzsnyw076.png "title=" 300.PNG "alt=" Wkiol1k6udwrhgewaaaylqzsnyw076.png "/>
Note: Password to be added between Splashimage and title, otherwise it may not be effective! After the
-
Setting is complete, you will be prompted for the password the next time you need to manage grub, as follows:
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01 /98/61/wkiol1k6utxjvcl5aaar6hqz9yq904.png "title=" 303.PNG "alt=" Wkiol1k6utxjvcl5aaar6hqz9yq904.png "/>
-
Enter the password you set in the password line to log in to grub.
This article is from the "Hand of the Paladin Control" blog, please make sure to keep this source http://wutengfei.blog.51cto.com/10942117/1933974
linux6 in grub menu plus password