Reset root password on vSphere replication Manager VMs

From Notes_Wiki

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