IBM TechXchange Group

 View Only

IBM Classic VSI server root password Reset.

By Vaibhav Srivastava posted Thu April 11, 2024 12:06 AM

  

IBM Classic VSI server root password Reset.

This Blog is for IBM Cloud Users only.

It happens often that you lose the root password of your Classic VSI Server.

What do you do now? call IBM? open a Ticket.? yes or you can follow below steps…

In Case you lose the root password of your Linux VSI server on IBM Cloud. (Any Linux Flavor/ OS) it can be reset from the steps given below: -

·      First login into IBM Cloud using >> https://cloud.ibm.com

·      Once you logged in please go to Device List, you can use URL: -

              https://cloud.ibm.com/gen1/infrastructure/devices

·      From the Device List Select/Open the VSI Server on which you want RESET the root User_ID password.

1>   On the Device page click on BLUE ACTIONS drop down button given in Top right-hand side of the page, and from Drop down option’s select Rescue Mode to Boot the server in Rescue mode.

2>   Once the server boots up, you can access the server via SSH or via KVM/IPMI Console.

3>   You will be using root credentials given over the IBM Cloud portal under Password section of Device page. {Password tab is on lefthand side in Device page}

4>     In rescue, run the following commands:

                 # mount /dev/xvda2 /mnt

                 # mount /dev/xvda1 /mnt/boot/

                 # mount --bind /dev /mnt/dev

                 # mount --bind /sys /mnt/sys

                 # mount --bind /proc /mnt/proc

                 # chroot /mnt

                 # passwd

{NOTE:: We always advise you to have password length of 15 character & it should be alphanumeric characters}

5>   Once the password is Set, you will boot the server back to normal state. By going on the Device page click on BLUE ACTIONS drop down button given in Top right-hand side of the page, and from Drop down option’s select Boot from image, to Boot the server in normal mode.



Please find the screenshot attached for your reference.

In case you face any further issue please don’t hesitate to connect us via CHAT/Phones/Case.

0 comments
15 views

Permalink