Resetting the root password in VMware Aria Suite Lifecycle (vRSLCM)
search cancel

Resetting the root password in VMware Aria Suite Lifecycle (vRSLCM)

book

Article ID: 322721

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

This article provides steps to reset the root password if you have lost or forgotten the existing root password for LCM, i.e.:

  • VMware Aria Suite Lifecycle 8.12 or later.
  • vRealize Suite Lifecycle Manager 8.x or previous versions.

If the current root password is available you can use the UI to change the password following step 5 on Password management with VMware Aria Suite Lifecycle (vRealize Suite Lifecycle Manager) Locker 

Environment

  • VMware Aria Suite Lifecycle 8.x
  • VMware vRealize Suite Lifecycle Manager 1.x
  • VCF Operations 9.x

Resolution

To reset a lost/forgotten root password in VMware vRealize Suite Lifecycle Manager and VMware Aria Suite Lifecycle:

  1. Take a snapshot or backup of the appliance before proceeding.
  2. Reboot the VMware Aria Suite Lifecycle (vRealize Suite Lifecycle Manager) Appliance.
  3. After the OS starts, press e in the GNU GRUB menu to edit the boot parameters.
  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. In the Command prompt, enter the following command:
    passwd
  8. Provide the new root password, and confirm it.
  9. Reboot the VMware Aria Suite Lifecycle (vRealize Suite Lifecycle Manager) Appliance by running this command:
    reboot -f 
  10. Confirm that you can access VMware Aria Suite Lifecycle (vRealize Suite Lifecycle Manager) Appliance using the new root password.
  11. Remove the snapshot taken in Step 1 if applicable.

Additional Information

In case, "root" password does not reset and gets Error: "Authentication token lock busy" 

This is due to "root" file system in "read-only" mode. It needs to be in "Read-Write" mode. Run below command for the same: 

  "mount -o rw, remount /"

Password gets reset successfully. 

Checking and clearing out failed attempts to login which results in the root account being locked temporarily. 

  • To check if the root account is locked run the following command 
    • faillock --user root
  • To clear out the lock to be able to login to the appliance even after resetting the root password
    • faillock --user root --reset

 

Other Password Management articles:

Main article:

Child articles: