In this article, we will learn how to change root password account on CentOS operating system.
The root account is a special user account on Linux that has access to all files, all commands and that can pretty much do anything on a Linux server. Therefore root account is the highest authority account on the system. It has control over everything, can delete and modify anything, and has permission to run any program.
Steps to Change Linux/Centos root password via SSH
Changing password for user root. New password: Retype New password:
As a result your new password should work fine.
Recommendation : you should set a strong password for the root account. It should be at least 10 characters, with special characters, uppercase and lowercase letters.Also, it should not contain any words that are easily found in a dictionary.