Resetting Root via Rescue Mode Print

  • 46

Once Securehost has rebooted your VPS/Dedicated server into Rescue Mode carry out the following:

Mount the partition by launching the following command:
mount /dev/vda1 /mnt
(the disk to mount can vary)

Then, do a chroot on the mount made:
chroot /mnt

Change root password:
passwd

Type the new password (it will not show on screen as you are typing)
Changing password for root user.
New password:
Retype new password:

A confirmation message will appear:
passwd: all authentication tokens updated successfully.

Request Securehost to boot the VPS/Dedicated server normally and login with new password via SSH.

Was this answer helpful?

« Back