Linux forgot root password switch to but modified in user mode

Press any key to enter the system options when the system starts to boot the Countdown

Press the e key again to select the second item, press e to enter the edit, enter space 1 and then press Enter and then press the B key

No password required to enter the system

Then passwd root to change the password

 

Guess you like

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