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

Encrypt the incoming single user

2025-03-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

Plaintext encryption

Vim / etc/grub.conf in

Hiddenmenu

Title CentOS (2.6.32-431.el6.x86_64)

Change to

Hiddenmenu

Password=12345678

Title CentOS (2.6.32-431.el6.x86_64)

2.md5 algorithm encryption

a. Enter grub-md5-crypt directly to encrypt the password.

B.vim / etc/grub.conf adds the encrypted password to the

Hiddenmenu

Title CentOS (2.6.32-431.el6.x86_64)

Get

Hiddenmenu

Lock

Password-- md5 $1$ VgHQU$hVuCrY9xtT8CogBV8ioIc/

Title CentOS (2.6.32-431.el6.x86_64)

3. Enter single-user mode

Reboot restart the system, within 3 seconds of boot, press any key to enter the boot interface, and then enter the password to enter single-user mode. Enter passwd to change the password of the root user.

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