Linux Protection boot password (3)

Source: Internet
Author: User

After two of the process we know that other people can effectively block when they are not able to enter the system, but what if someone can get into the system and look at/ETC/GRUB.COF? This involves a MD5 encryption, which is in principle unbreakable, but by brute force, some simple passwords can easily be cracked, so the more complex the password is, the more useful it is. How to do it?

A: In the Super User's directory input: Grub-md5-crypt, and then let you enter the password, here I input 123456, 2 times after the input, will appear by the MD5 encrypted ciphertext, we will copy this cipher to grub.conf

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/06/6E/wKiom1m3_LSxYfxDAAAj8U9Pjl0369.png-wh_500x0-wm_ 3-wmp_4-s_2540668003.png "title=" 5.png "alt=" Wkiom1m3_lsxyfxdaaaj8u9pjl0369.png-wh_50 "/>

Continue using the command vi/etc/grub.conf

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/A5/1E/wKioL1m3_Jqj2nfNAABZpn0QwiA174.png-wh_500x0-wm_ 3-wmp_4-s_1898730007.png "title=" 6.png "alt=" Wkiol1m3_jqj2nfnaabzpn0qwia174.png-wh_50 "/>

Then follow the steps (2) to do so, so that we can protect our Linux password to a certain extent. It is important to note that a space is required in the password and must be followed--only, otherwise it will not take effect.


This article is from the "Costin" blog, make sure to keep this source http://brighttime.blog.51cto.com/12837169/1964785

Linux Protection boot password (3)

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.