Home > other >  Linux can't boot into single user mode how to modify the root password
Linux can't boot into single user mode how to modify the root password

Time:10-15

Virtual machine boot is directly below screenshots, but the root password forgotten zha get

CodePudding user response:

RHGB quiet after the single carriage return, press the "b" key boot into single user mode, and then change the root password

CodePudding user response:

Your boot press ESC or e or a into the editor, and then forced the passwd root - d then init 5 restart enter, if an error occurs, like, turn off the selinux passwd root and restart again,
  • Related