Linux Shout published a tutorial how to reset a forgotten root user password in CentOS.
Centos 7 Linux Forgot Password Solution- How to Change it
Here are the simply and proper steps to reset the forgotten root user password in CentOS 7 Linux using command line in few minutes
Centos 7 Linux Forgot Password Solution- How to Change it - Linux Shout