root password forgotten how to get back

Thoughts: single-user mode and change the root password, because the single-user mode do not have the root password

1. Press e boot and into, and then press the e key shown in FIG.

2. When the FIG., In single-user mode 1 is input, the press enter

3. Enter b will enter a single-user mode

4. Modify password

 

Guess you like

Origin www.cnblogs.com/fangdecheng/p/11244658.html