Linux system root password reset method diagram detailed tutorial

  
 

1. Restart the server

2. At the beginning of the boot, enter the boot interface (as shown below) and click on the keyboard above <;&&>


3. Enter the interface as shown below, I will choose the second press of the “e” button on the keyboard. (Different versions may have a little difference)


4. Enter a space at the end of the command input line +“single”, that is, KEYTABLE=us rd_NO_DM rhgb quiet single” Br>


5. After editing, return to the second step of the interface, the same is to select the second item, press the “b” and “key” button on the keyboard to boot the system into a single user. mode.


6. As long as you enter the command input station, the other is simple. The command to modify the root password is “passwd root”, then enter the new password.



Copyright © Windows knowledge All Rights Reserved