cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2966
Views
5
Helpful
3
Replies

Default password or password recovery for Multisite Orchestrator

aadish.bahati
Level 1
Level 1

We have a cluster of MSO VMs running at version 2.0.1c and trying to upgrade to version 3.1.1h. After setting up the Python Environment for upgrade, we are unable to login into the MSO VM through SSH or SCP. We have tried the same password as is used for logging into the GUI but didnt work. So we have below questions on this:

 

  1. What is the default cli password for root credential for MSO VM?
  2. Can we reset root password for MSO VM?

Please advise.

1 Accepted Solution

Accepted Solutions

Robert Burns
Cisco Employee
Cisco Employee

You can reset the root password assuming you have console (VM) access.

1 - In the boot grub menu select option to edit.

2 - Select Option to edit (e).

3 - Go to the line of Linux 16 and change ro with rw init=/sysroot/bin/sh.

4 - Press Control+x to start on single user mode.

5 - Now access the system with this command.

   chroot /sysroot

6 - Reset the password.

   passwd root
   New password:
   Retype new password:

7 - Update selinux information

   touch /.autorelabel

8 - Exit chroot

   exit

9 - Reboot your system

   reboot

 

Regards,

Robert

View solution in original post

3 Replies 3

Sergiu.Daniluk
VIP Alumni
VIP Alumni

Hi @aadish.bahati 

No, the root password is not the same (unless you configured it the same).The default password is cisco

But you will be asked anyway to change it right after first login to MSO VM setup.

Regarding root password reset without knowing the old password, i doubt there is a way, but maybe @Robert Burns knows a way

 

Stay safe,

Sergiu

Robert Burns
Cisco Employee
Cisco Employee

You can reset the root password assuming you have console (VM) access.

1 - In the boot grub menu select option to edit.

2 - Select Option to edit (e).

3 - Go to the line of Linux 16 and change ro with rw init=/sysroot/bin/sh.

4 - Press Control+x to start on single user mode.

5 - Now access the system with this command.

   chroot /sysroot

6 - Reset the password.

   passwd root
   New password:
   Retype new password:

7 - Update selinux information

   touch /.autorelabel

8 - Exit chroot

   exit

9 - Reboot your system

   reboot

 

Regards,

Robert

Thanks @Robert Burns @Sergiu.Daniluk  I will try it now and confirm if it worked.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Save 25% on Day-2 Operations Add-On License