How to View or Reset Your VPS Root Password Print

  • 0

For your security, DoRoyal never sends your root password by email. This article explains where to find it and how to change or reset it.

Viewing Your Root Password

  1. Log in to your Client Area.
  2. Go to Services > My Services.
  3. Click on your VPS service.
  4. Your service credentials, including the root password, are shown on the product details page.

Changing Your Password (Recommended After First Login)

Once connected via SSH, change the password yourself:

passwd

Enter a new, strong password twice. We recommend a randomly generated password of 16+ characters stored in a password manager.

Note: Changing the password inside the server does not update the password shown in the Client Area. Treat the Client Area value as the initial provisioning password only.

Locked Out? Reset via Console

If you have lost your root password and cannot log in via SSH:

  1. Log in to the King Panel.
  2. Open the Console (VNC) for your VPS.
  3. Reboot into single-user/rescue mode from the boot menu (GRUB: press e, append init=/bin/bash to the linux line, boot with Ctrl+X).
  4. Remount the root filesystem and set a new password:
    mount -o remount,rw /
    passwd
    sync
    reboot -f

If you are not comfortable with this procedure, an OS reinstall from the King Panel will also generate fresh credentials. Warning: a reinstall erases all data.

Security Best Practices

  • Never share your root password with anyone. DoRoyal staff will never ask for it.
  • Prefer SSH keys over passwords, and disable password authentication once keys are in place.
  • Enable two-factor authentication on your Client Area account under Account > Security Settings.

Was this answer helpful?

« Back