linux6 in grub menu plus password

Source: Internet
Author: User
Tags crypt

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:

    1. 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"/>

    2. 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

    3. 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 "/>

    4. 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

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.