This article shows you how To change root password via SSH in Centos operating system.
To login as root in Linux means to have ultimate authority and unquestionable control over the system. Root is the superuser account that has administrative rights to access, modify, delete, or run any file in the system.
Steps to Change Linux/Centos root password via SSH
- Use SSH connection to login to your server, now simply run the following commands in order to change your root or current password as bellow:
- Now enter a new password then, retype your new password as follow:
- Now your new password should work successfully.