Difference between revisions of "Reset root password on vSphere replication Manager VMs"

From Notes_Wiki
(Created page with "<yambe:breadcrumb self="Reset root password on vSphere replication Manager VMs">VSphere replication or Site Recovery Manager|VSphere replication or Site Recovery Manager</yamb...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb self="Reset root password on vSphere replication Manager VMs">VSphere replication or Site Recovery Manager|VSphere replication or Site Recovery Manager</yambe:breadcrumb>
[[Main_Page|Home]] > [[VMWare platform]] > [[VSphere replication or Site Recovery Manager|vSphere replication or Site Recovery Manager]] > [[Reset root password on vSphere replication Manager VMs]]
=Reset root password on vSphere replication Manager VMs=


To reset root password on vSphere replication Manager after being locked use:
To reset root password on vSphere replication Manager after being locked use:
Line 38: Line 37:




<yambe:breadcrumb self="Reset root password on vSphere replication Manager VMs">VSphere replication or Site Recovery Manager|VSphere replication or Site Recovery Manager</yambe:breadcrumb>
[[Main_Page|Home]] > [[VMWare platform]] > [[VSphere replication or Site Recovery Manager|vSphere replication or Site Recovery Manager]] > [[Reset root password on vSphere replication Manager VMs]]

Latest revision as of 09:47, 7 April 2022

Home > VMWare platform > vSphere replication or Site Recovery Manager > Reset root password on vSphere replication Manager VMs

To reset root password on vSphere replication Manager after being locked use:

  1. Restart the VM and press up and down arrow keys to go to grub console
    Use "VMRC" instead of Web console to do this
    Optionally add boot delay using https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vm_admin.doc/GUID-EAAE9426-D08E-4DF1-820B-7C022C2A85FA.html so that there is gap between click power-on and the time when the machine starts to boot
  2. In the grub "linux" line append:
    rw init=/bin/bash
    Press F10 to boot
  3. At root prompt remount / as rw using:
    mount -o remount, rw /
  4. Reset password using:
    passwd
  5. Remove existing failed login count and lock information for user root using:
    /sbin/pam_tally2 -r -u root
  6. Umount / and reboot using:
    umount /
    reboot -f


Refer:



Home > VMWare platform > vSphere replication or Site Recovery Manager > Reset root password on vSphere replication Manager VMs