Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Grub launcher settings encrypt virtual machine vmware8.0.4 CentOS 6.3

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

If everyone can change the password of root, then the password has no meaning. So how to prevent others from entering single-user mode through the grub launcher to change the root password?

Environment: virtual machine vmware8.0.4 CentOS 6.3

Set the password to enter the grub startup program through the grub-md5-crypt command

Open the configuration file / etc/grub.conf of the grub launcher with vi and add a line of commands, then

Save and exit. The figure below is as follows

Note: in fact, / etc/grub.conf is the soft link of / boot/grub/grub.conf

Triple restart and press any key in a few seconds

4. If the following appears, you are required to enter the password of the grub startup program before you can enter the editor

Enter the password (this is the password entered twice in the first step in a row)

6 enter the editing interface of the grub startup program

Note:

Plaintext: it refers to the password entered twice on the keyboard

Ciphertext: refers to the encrypted sequence of characters

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report