VCSA root Passwort zurücksetzen

  1. Take a snapshot or backup of the vCenter Server Appliance before proceeding.
  1. Apply KB # 196 (VMware Knowledge Base) for Repeated characters when typing in remote console
  2. Reboot the vCenter Server Appliance.
  3. After the VCSA Photon OS starts, press the e key to enter the GNU GRUB Edit Menu.
  4. Locate the line that begins with the word Linux.
  5. Append these entries to the end of the line:

    rw init=/bin/bash
  6. Press F10 to continue booting.
  7. Run the command  

mount -o remount,rw / 

  1. In the Command prompt, enter the command passwd and provide a new root password (twice for confirmation):

passwd 

  1. Unlock root account 
    pam_tally –user root –reset  
    or 
    faillog -u root -r   
  1. Unmount the filesystem by running this command (yes, the unmount command is umount  –  it’s not a spelling error):

umount / 

  1. Reboot the vCenter Server Appliance by running this command:

reboot -f

Author: Stefan