Linux root account is the god portal of Linux, and forget the root password, it is equivalent to you have changed from God to the civilian, this huge gap can imagine, may want to regain God's general authority, is only the reinstall system? No no no, do not reinstall the system, only need a few steps, you can re-become God, now we say how to fix it (Ps: This is my study when the record written, greatly do not spray ^_^)
First press the E key to enter GRUB mode when booting up
Use the up and down keys to select the latest kernel (kernel ...). (PS: This is usually the beginning))
Continue to press the E key, after the editing interface rhgb quiet Add a space, single (single or 1)
Enter, press the B key to reboot into single user mode
You can now enter the command to change the root password ^-^.
This article is from the "Darker Notes" blog, so be sure to keep this source http://liumange.blog.51cto.com/9453694/1629053
What about Linux forgetting the root password?