Howto reset your Centos Root password
Your Linux machine is so stable that it’s been several months since you didn’t log on it. Bad luck, you do not add the Root password in your password manager. You are trying to connect, trying every conceivable password, impossible … you forgot! No Stress, here’s a technique that let you reset your root password on your CentOS.
First, restart your CentOS server, when you arrive in the Grub:
Press the “a” key of your keyboard:
Simply add a “1” after “quiet” to start in single mode, and press enter. Your CentOS is started now, you are logged in as root, it remains only to change his password:
Once changed your password, it only remains to restart.
Voila, you now know how to reset the root password on CentOS.