Enable encryption in RHEL6

Source: Internet
Author: User
Tags crypt
1, is to use the super user to execute the grub-md5-crypt, the command means that the grub Password using md5 encryption method, if the direct use of plaintext encryption this step can be omitted. Enter the password twice, and then the encrypted password will appear, a string, copy string 2, edit/boot/grub/menu. in the lst file, add this line of password under timeout -- md5 $1 $ iMJtJ/$ c4uwl2vrow.ttvb3abwqa. where

1, is to use the super user to execute the grub-md5-crypt, the command means that the grub Password using md5 encryption method, if the direct use of plaintext encryption this step can be omitted. Enter the password twice, and then the encrypted password will appear, a string, copy the string

2. Edit the/boot/grub/menu. lst file and add the password -- md5 $1 $ iMJtJ/$ c4uwl2vrow.ttvb3abwqa under time out. The red part is the string you just copied.

3. Adding a lock under title linux indicates that the lock will be triggered when it is started, and the lock will be stopped if no password is entered.

4. Restart. You can hear it at grub startup. Press p and enter the password to boot the system normally.

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.