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

How to solve the problem of linux forgetting root password

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article is about how to solve the problem that linux forgot the root password. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

The steps are as follows:

Restart the linux system

Press enter within 3 seconds, and the following interface appears

Then enter e

Type single at the end of the second line with a space. The specific method is to press the downward tip to move to the second line, and press "e" to enter edit mode

Add single to the back and enter.

Finally, press "b" to start, and after startup, you enter single-user mode.

Now that you have entered single-user mode, you can change your root password. The command to change the password is passwd

Thank you for reading! On how to solve the problem that linux forgot the root password is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

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