- Connect to your server via SSH as root user.
Enter the command:
passwd
- Type your password, then press Enter.
- When prompted for your current UNIX password, enter your SSH password, then press Enter.
- Retype your new password and press enter. If successful, you will see the output:
passwd: all authentication tokes updated successfully
You can also change root password from VPS manager portal.
Click On Services Menu.
Click on related service name for which you are going to change password.
Just scroll down to VPS manage portal and click on "Change Password" Button as showing in screen to change main root password.
Now just type your new password and confirm password.
Password Must Includes.
Symbols: ( e.g. @#$% )
Numbers: ( e.g. 123456 )
Lowercase Characters: ( e.g. abcdefgh )
Uppercase Characters: ( e.g. ABCDEFGH )
Once Password changed you will see success message.
Now in KVM virtualizaztion we need to reboot/restart our VM for the new password to take effect.
You can do it by just click on restart/reboot icon on the VPS manager portal.
That's all.