Launch the passwd command:
[[email protected] ~]# passwd
Type the new password (it will not show on screen as you are typing)
Changing password for root user.
Retype new password:
A confirmation message will appear:
passwd: all authentication tokens updated successfully.
To test the new password, just log out and back in again in SSH.