How to Change Your Root Password Print

  • change password, root, password
  • 0

The root user has full administrative access to your VPS, so it’s important to use a strong, secure password—and change it regularly for security purposes. This guide shows you how to change the root password on your Linux VPS.

 


 

Method 1: Change Root Password via SSH

 

Step 1: Log in via SSH

 

Use your Terminal (Linux/macOS) or PowerShell (Windows) and run:

ssh root@your_server_ip

Replace your_server_ip with your actual VPS IP address. Enter your current root password when prompted.

 

Step 2: Run the Password Change Command

 

Once logged in, run:

passwd

Step 3: Enter the New Password

 

You will be prompted to type and confirm your new password:

Enter new UNIX password:
Retype new UNIX password:

If both entries match, the password will be updated. You’ll see:

passwd: password updated successfully

 

 


 

Method 2: Reset Root Password via SolusVM Control Panel (for KVM VPS)

 

If you are unable to log in via SSH, you can reset the root password from the SolusVM VPS Control Panel.

 

Step 1: Log in to the SolusVM Control Panel

• Go to https://my.hosteons.com

• Click on Services > VPS and choose your VPS

• Click “View Control Panel” to access SolusVM

 

Step 2: Reset the Root Password

1. Go to the Root Password section

2. Click Change

3. A new password will be generated and displayed on the screen

 

You can now log in to your VPS using the new root password.

 

Tip: After logging in, you can use the passwd command again to set a password of your choice.

 


 

Tips for Choosing a Strong Password

• Use a mix of uppercase, lowercase, numbers, and symbols

• Avoid common words, names, or predictable patterns

• Use at least 12 characters

• Consider using a password manager to store your credentials securely

 


 

Conclusion

 

Changing your root password is simple and helps keep your VPS secure. If you encounter issues resetting your password, please contact Hosteons Support for assistance.

 


Was this answer helpful?

« Back