To change the root password on your VPS server, you’ll need to have SSH access to your server. Here’s a step-by-step guide using a Linux-based VPS server:
1. Access your server with SSH
Use the following command, and replace `user@your_server_ip` with your information.
```
ssh user@your_server_ip
```
1. Switch to the root user
Most VPS servers don’t allow direct login as root, instead, you have to login as a normal user, then switch to the root user.
Use the following command to switch to the root user:
```
su – root
```
It will prompt for root password, enter the root password.
1. Change the root password
Now, you can change your root password by using the `passwd` command:
```
passwd
```
Then type your new password and press Enter. You will be asked to confirm the password by typing it again.
Remember that a strong password should include uppercase and lowercase letters, numbers and special symbols.
Please note: The root user has full system access and privileges and can essentially do anything on the server. Be very careful when logged in as root and only make necessary changes.
Some VPS services might not allow logging in as root or may use a different process, so consider their online documentation if the above steps do not work.