The password settings on the online server are complex. even if the machine developed on the intranet has a long password, the root password is sometimes forgotten. What if I forget the root password of Centos? Don't worry, follow the steps below to solve the problem easily. Solution: 1. press the space key at startup to view the Centos Directory (the default setting will be displayed after 3 seconds), and select
The password settings on the online server are complex. even if the machine developed on the intranet has a long password, the root password is sometimes forgotten. What if I forget the root password of Centos? Don't worry, follow the steps below to solve the problem easily.
Solution:
1. press the space key at startup to view the Centos Directory (the default setting will be displayed after 3 seconds). use the up/down key to select the kernel you want to enter, then press the "E" key on the disk to go to the screen shown. Although there is only one Centos boot in the figure, if you have upgraded the system or installed XEN, multiple Centos boot entries will be displayed.
2. click "E" to go to the following screen.
3. as shown in, we select the second and longest one. Then press "E" to enter the editing screen. Delete the following LADBEL =/and enter the number "1", "single", or "S. Press enter to go to the next step.
4. go to the following screen and press "B" to start the system.
5. after entering the single user interface shown in the figure
Help
Reset the root password and enter it again, that is, reset the root password. You can enter reboot to restart the computer. The root password is updated.