This article explains how to change the root password in Linux.
Log in to the desired server as the root user.
To set a new password, enter the following command:
[root@localhost ~]# passwd
Enter the desired password and repeat it.
The password is now changed.
Instructions on how to reset your server's root password can be found here: