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

Crack the root password of kernel management

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

CentOS6 in the kernel boot interface of boot boot, enter a key

Enter a 1, s, S or single at the end of the last line and enter into single-user mode

Using passwd, the command can change the root password, restart and enter the password to log in.

Kernel boot interface encryption uses grub-md5-crypt command and md5 encryption to generate secret key.

Modify the kernel parameter file / boot/grub/grub.conf add the password parameter to the file, specify the encryption method, and paste the newly generated secret key to the encryption mode

Restart the system, the boot interface found that the a key did not respond, the system prompted the p key to enter the password

The experiment is completed, this experiment can effectively prevent ordinary users from tampering with root passwords and improve the security of the system.

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

Servers

Wechat

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

12
Report