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
- Restart your VMware Aria Automation 8.x appliance and wait for the Photon OS Splash screen during boot.
- Enter 'e' to go to GNU GRUB boot menu editor:
- Add the below string behind the line that starts with linux: init=/bin/bash
- Enter F10 to boot the changed Entry.
- Mount the / partition as RW with mount -o rw,remount / and reset the root password with the passwd command:
- (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
- Reboot the appliance with the reboot -f command.
Feedback
thumb_up
Yes
thumb_down
No