Resetting the admin@local password in VMware Aria Suite Lifecycle (vRealize Suite Lifecycle Manager)
search cancel

Resetting the admin@local password in VMware Aria Suite Lifecycle (vRealize Suite Lifecycle Manager)

book

Article ID: 314669

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This article provides steps to reset:

  • The admin@local in VMware Aria Suite Lifecycle (formerly known as vRealize Suite Lifecycle 8.x)
  • The admin@locahost in vRealize Suite Lifecycle 2.x.

Environment

VMware vRealize Suite Lifecycle Manager 2.x
VMware Aria Suite Lifecycle Manager 8.x

Resolution

Note: For VCF 9.x and above, please use the Fleet Management > Password section in the VCF OPs UI.

 

In VMware Aria Suite Lifecycle (Aria Suite Lifecycle Manager) 8.18.x to reset the forgotten admin@local password:

  1. Log in to Aria Suite Lifecycle Manager 8.18.x Appliance as root via SSH or Console.
  2. Run the below command:
    /opt/vmware/share/vami/vami-vlcm-passwd-reset
  3. Provide a new admin@local password and confirm it.

In VMware Aria Suite Lifecycle (vRealize Suite Lifecycle Manager) 8.17.x and below to reset the forgotten admin@local password:

    1. Log in to Aria Suite Lifecycle Manager 8.17.x Appliance as root via SSH or Console.
    2. Run the below command and make a backup of the vami-vlcm-passwd-reset script:
      cp /opt/vmware/share/vami/vami-vlcm-passwd-reset /opt/vmware/share/vami/vami-vlcm-passwd-reset.bak
    3. Next edit the script by running command: "vi /opt/vmware/share/vami/vami-vlcm-passwd-reset"
    4. Update line #!/usr/bin/python to #!/usr/bin/python3 then save 
    5. After saving the update run the command: ./opt/vmware/share/vami/vami-vlcm-passwd-reset
    6. Provide a new admin@local password and confirm it.

In VMware Aria Suite LifeCycle Manager 1.x & 2.0 to reset the forgotten admin@localhost password:

  1. Log in to Aria Suite Lifecycle Manager 1.x / 2.0 Appliance as root via SSH or Console.
  2. Run the below command:
    /opt/vmware/share/vami/vami-vlcm-passwd-reset
  3. Provide a new admin@localhost password and confirm it
Note:
For a vRSLCM Instance deployed in a VCF Environment, please use the attached vami-vlcm-passwd-reset_vcf script instead and follow the below steps
  1. Copy the attached vami-vlcm-passwd-reset_vcf script into any of the Aria suite lifecycle manager folder.
  2. Log in to Aria Suite Lifecycle Manager Appliance as root via SSH or Console.
  3. Navigate to the folder where the script is copied.
  4. Change folder permissions to make the file runnable as a script using command chmod +x vami-vlcm-passwd-reset-vcf
  5. Run the below command:
    • ./vami-vlcm-passwd-reset-vcf
  6. Provide a new vcfadmin@local password and confirm it.

Additional Information

In case you hit an error exception while updating password for user a bytes-like object is required, not 'str' while resetting the password replace /opt/vmware/share/vami/vami-vlcm-passwd-reset file from a another Aria Suite Lifecycle and proceed to reset the password

Error Screenshot : 

Main article:   

Child articles:

Attachments

vami-vlcm-passwd-reset-vcf get_app