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 reset root password in CentOS6.6 single-user mode

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly introduces "how to achieve CentOS6.6 single-user mode reset root password". In daily operation, I believe that many people have doubts about how to achieve CentOS6.6 single-user mode reset root password. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "how to achieve CentOS6.6 single-user mode reset root password"! Next, please follow the editor to study!

1. Press any key quickly when starting up, because the default time is 5s.

2, grub menu, there is only one kernel, there is nothing to choose up and down, press the e key. However, if you upgrade your system or install Xen virtualization, there will be multiple displays.

3. Next display as follows, select the second item and press the e key

4. Next, add "space" at the end of rhgb quiet, and then type "1" or "s" or "S" or "single". Press enter to return to the previous level.

5. Press b key to start the system

6. Final interface

Enter 1:

Enter letters:

7. You can change the root password by typing passwd directly.

At this point, the study on "how to achieve CentOS6.6 single-user mode to reset root password" is over. I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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