Disable the aec key when centos is started.

Source: Internet
Author: User
Press any key to enter the GRUB boot program interface, where you can enter c for parameter input. if the parameter is 1, you can enter single-user mode, you can directly change the root password of the system. There are certain security risks in some production environments. You can set the password here by 1. first, set an md5 encrypted ciphertext:

Press any key to enter the GRUB boot program interface, where you can enter c for parameter input. if the parameter is 1, you can enter single-user mode, you can directly change the root password of the system. There are certain security risks in some production environments.

You can set a password here:

1. first set an md5 encrypted ciphertext:

# Grub-md5-crypt // will generate an encrypted string

2. modify the/etc/grub. conf file.

# Vim/etc/grub. conf

Add a line above the title and enter password -- md5 xxxxxxxxx (the ciphertext character generated in the first step)

3. save and restart. When you enter the grub boot page again, enter p and password. Improve security.

Related Article

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.