If for some reason the password had to be reset to the original, the below config file can be changed to allow re-using passwords


edit /etc/pam.d/system-password

vi /etc/pam.d/system-password

change remember=5 to remember=1 and reboot the appliance

Once the appliance boots up, set the password using

passwd root

EDIT: The above does not work with the newer versions of VIDM!

2 Replies to “reuse a previously used password on photon/VMware appliances?”

  1. It works – but only to reboot into the shell from the photon splash screen. Using this for VCSA will automatically reset when VCSA starts up as this file isn’t the source of truth.

Leave a Reply

Your email address will not be published. Required fields are marked *