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 "ubuntu system forgot how to find root password". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "the ubuntu system forgets how to retrieve the root password."
1. Start the computer first, and then quickly press the "↓" key when the boot interface comes out, and you will enter the GRUB interface. If the GRUB interface is not displayed, you can press the shif key or F2 keyboard for a long time to display the GRUB interface.
2. Press "e" to edit the kernel boot file (you can choose either the first or second repair mode). Here we select line 1 by default. Enter it as shown in the following figure, and find the line "ro", as shown in the figure.
3. Then find the ro line and change it to rw single init=/bin/bash. This code enters the user's key command.
4. After the modification, press the'b 'key to save the restart, and automatically log in to the single-user mode after restart, as shown in the following figure
5. After entering the single-user mode, you need to use mount-no,remount,rw /, because the hanging mode of the root partition is read-only by default, so change it to writable.
6. Enter the passwd user name to change the password. After entering the password twice, all authentication passwords will be modified successfully.
7. After the password modification is completed, enter init 3 to enter the multi-user mode. Then enter the newly set password to enter, it is as simple as that!
Note: after entering a single user, press passwd and the system prompts you to enter the password, which is not echoed.
At this point, I believe that everyone on the "ubuntu system forgot how to find the root password" have a deeper understanding, might as well to the actual operation of it! 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.