root password reset in centos

1. Press " e " after booting to enter edit selection, as shown in the figure:



 
<!--[endif]-->

2. Then press " e " again to enter another selection box:



 
<!--[endif]-->

3. Select the second item, and then press " e ".



 
<!--[endif]-->

4. Enter " single " in the back , remember that there is a space, and then press Enter. The following selection box appears again.

 



 
<!--[endif]-->

5. At this time, select the second item, and then enter " b ". The command line appears,



 
<!--[endif]-->

6. At this time, change the password passwd , and then restart reboot

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326517192&siteId=291194637