In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to solve the problem of VPS forgetting password in centos system". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to solve the problem of VPS forgetting password in centos system.
Suppose we forget the root password, first log in to the SolusVM admin panel, we perform a restart, and then VNC connect to it.
You can click the VNC button directly in the panel, or you can record the VNC information and use the tool, which is executed directly in the background here.
Pay attention to the above step, restart immediately go to VNC, move a little faster, because the startup menu is quickly skipped, see the countdown to the above picture, press the up and down arrow keys of the keyboard to select.
The following picture shows the currently optional system kernel. Select the line change and press "E" on the keyboard to edit.
As shown below, select the second row and also press "E" to edit.
Add "space single" at the end of the line break, and notice that there is a space between the single and the preceding section.
In the picture below, I framed it in red.
Enter and save after typing, and then press the "B" key to start in this single-user mode.
At this point, the system logs in directly without entering any password, as shown in the following figure:
It is simple here. We can set the root password casually, directly command passwd or passwd root, and enter the password that needs to be set twice in a row. After restarting the machine, we can log in with the modified password.
At this point, I believe you have a deeper understanding of "how to solve VPS forgetting password in centos system". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.