Lost VAMI Password
search cancel

Lost VAMI Password

book

Article ID: 414425

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

The root password of the vCenter server is unavailable.

VAMI is accessible by https://<VC_IP>:5480 or https://<VC_FQDN>:5480

Environment

vCenter Server 

Cause

The vCenter server root password has been lost or forgotten

Resolution

1. SSH to the VCSA and login using administrator@<domain_name> where <domain_name> is your default SSO Domain. ​​​​​

  • If disabled, enable SSH using the VAMI ( https://<vcenter_fqdn>:5480 ).
  • Can login as [email protected] or any other member of the SSO administrators group.
  • Enable or Disable SSH and Bash Shell Access.

2. If first time logging in, enable shell then enter shell.

  • shell.set --enable true
  • shell

3. Run the following command in bash shell to change the root password.

  • sudo passwd root
  • You can type in the new password :
    New password:
    Retype new password:
    passwd: password updated successfully

4. Confirm that you can access the vCenter Server Appliance using the new root password.

  • sudo -i
    Password:
    Connected to service

        * List APIs: "help api list"
        * List Plugins: "help pi list"
        * Launch BASH: "shell"

    Command>