Unable to upgrade vCenter 6.7 to U1, Root password (NOT) expired

It was time to upgrade to vCenter 6.7 U1 in my lab but when running the RUN PRE-UPDATE CHECKS it warned me about my root password being expired… Although I was still able to log in as root without any warning. Also, I was unable to change the root password via any GUI method. It just would not accept my new password.

So it was time to get out the big guns and “bash” this issue out of existence. Just follow this guide and you will get it done and up and running again to upgrade.

To reset the root password in vCenter Server Appliance 6.5 and 6.7:

  1. Take a snapshot or backup of the vCenter Server Appliance before proceeding. Do not skip this step.
  2. Reboot the vCenter Server Appliance.
  3. After the OS starts, press 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/bashThe line should look like the following screenshot:

6. Press F10 to continue booting.
7. In the Command prompt, enter the command passwd and provide a new root password (twice for confirmation)
8. Confirm that you can access the vCenter Server Appliance using the new root password.
9. Remove the snapshot taken in Step 1 if applicable or remove it after the upgrade.

Now all checks passed and ready to update.

1 thought on “Unable to upgrade vCenter 6.7 to U1, Root password (NOT) expired

  1. Steve Hiner

    Can’t you just enable SSH, login to the appliance, switch to the BASH shell and run passwd to change the password?

    That’s what I did and it removed that warning. I didn’t need to reboot anything. In my case I believe the password likely was expired.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.