Changing your VPS root password will be easy for you after reading this article.
If you don’t have a control panel for your VPS, don’t worry. You can change it using SSH.
Here’s how you do it:
Firstly, access your hosting server using SSH.
Once logged in, type in the command – passwd & hit Enter
Set a new password and confirm it.
That’s it. Your password has been updated.
If you’ve got cPanel, you need not access your server using SSH. You can do it using WHM. Here’s how you do it:
Login to WHM from your Control Panel.
In the Server Configuration section, Click on “Change Root Password”
Set a new password and confirm it
Click on “Change Password“