Change root password on CentOS

Here is how to change the roor login for centOS.


# ssh root@216.xx.xx.xx -p22

Run the passwd command

# passwd
Changing password for user root.
New password:
Confirm password:
Password changed