CentOS7 forgotten password reset method

Five years ago, Zhiju wrote about how to reset a forgotten password in Linux (centos). At that time, it was still a centos6. Yes, record it here so that you can find it easier next time you encounter it.
To be honest, I forgot to take screenshots at first, but the early startup is similar to centos6. You can refer to: https://www.vpsok.net/12719.html
First, restart the server, and then press esc key until the system selection interface appears, press e (this step is similar to centos6)

CentOS7 forgotten password reset method

Five years ago, Zhiju wrote about how to reset a forgotten password in Linux (centos). At that time, it was still a centos6. Yes, record it here so that you can find it easier next time you encounter it.
To be honest, I forgot to take screenshots, but the early startup is similar to centos6. You can refer to: https://www.zrblog.net/12719.html
First, restart the server, and then press esc key until the system selection interface appears, press e (this step is similar to centos6)

Subscribe to centos7 reset password