Resetting the root password on a Photon appliance in VMware Aria Automation 8.x
search cancel

Resetting the root password on a Photon appliance in VMware Aria Automation 8.x

book

Article ID: 325916

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Provide guidance in resetting or recovery of a lost root password.

Environment

VMware vRealize Automation 8.x

Resolution

Prerequisites

 

  • You have valid snapshots or backups of the node(s) participating in the cluster.

Procedure

  1. Restart your VMware Aria Automation 8.x appliance and wait for the Photon OS Splash screen during boot.
Root password
  1. Enter 'e' to go to GNU GRUB boot menu editor:
  1. Add the below string behind the line that starts with linux: init=/bin/bash
code_change
  1. Enter F10 to boot the changed Entry.
logs
  1. Mount the / partition as RW with mount -o rw,remount / and reset the root password with the passwd command:
image.png
  1. (Optional) Validate the root account is not locked out and unlock if necessary:
    To check status of root account:
    pam_tally2 -u root
    If locked run:
    pam_tally2 -u root --reset
  2. Reboot the appliance with the reboot -f command.