Resetting the root password does not work for KVM VPS if there is another user containing "root" in the username in SolusVM

Have more questions? Submit a request

Applicable to:

  • SolusVM

Symptoms 

Resetting the root password does not work for KVM VPS if there is another user containing "root" in the username in SolusVM

Cause

Bug #SVM-2852

Resolution

As a workaround, reset the root password using the below instructions:

  1. Access the KVM Slave Node via SSH
  2. Create a directory and mount a VPS image into it with the commands:

    # mkdir /mnt_tmp
    # guestmount -a /dev/{vg}/kvmID_img -i --rw /mnt_tmp

    Note: replace /dev/{vg}/kvmID_img with the actual logical volume path

  3. Chroot into /mnt_tmp and reset the root password:

    # chroot /mnt_tmp
    # passwd

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.