How to change the administrator@vsphere.local SSO account Password using the Command Line.
search cancel

How to change the [email protected] SSO account Password using the Command Line.

book

Article ID: 424422

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

This article details the procedure for resetting the vCenter Single Sign-On (SSO) [email protected] password via the command-line interface (CLI).

Environment

VMware vCenter Server

Cause

The password for the vCenter SSO [email protected] account is nearing expiration, or a more complex password to be configured to meet security requirements.

Resolution

Important Considerations before resetting new password:

  • Unsupported Characters: Please ensure the new password does not contain any characters unsupported by VMware, such as: &, ;, ", ', ^, \, %, <, >. Using these characters can cause login failures.

To reset the password, please follow these steps:

  1. Make sure the environment has a valid VAMI backup which is widely known as "File-Based Backup".
  2. Create a snapshot of standalone vCenter Server Appliance(Without memory option), before proceeding to ensure to have a recovery point.
    1. In environments utilizing Enhanced Linked Mode (ELM), concurrent offline snapshots are mandatory. Ensure all linked vCenter Server appliances are powered off simultaneously prior to snapshot creation to maintain replication consistency.
  3. Log into the VCSA via SSH as the root user.
  4. Run the reset command: /usr/lib/vmware-vmafd/bin/dir-cli password change --account [email protected]
  5. Enter the existing password and follow the prompt to set new password.
  6. Verification: After running the command, test the login through vSphere Client to confirm successful login without quitting the existing CLI/SSH session.
  7. After successfully updating and verifying the new password, wait for couple of hours and validate the password again. Once re-validated, delete the pre-change snapshot.

Additional Information

Japanese version: コマンドラインにて vCenter の [email protected] アカウントのパスワード変更する方法.

If additional assistance is needed with troubleshooting, reach out to Broadcom support by creating a support case using the instructions at Creating and managing Broadcom support cases.