passwd vmware-system-user
If you cannot log into the appliance using the "vmware-system-user" password, reset it from the VM Console in vCenter with the following KB:
Resetting the root password on a Photon appliance
passwd vmware-system-user
HASH=$(echo 'YOUR-NEW-PASSWORD' | vmsp passwd --password-stdin) # Replace text [YOUR-NEW-PASSWORD] with your newly set vmware-system-user password.
SECRET=$(echo $HASH | base64 -w 0)
echo $SECRET
$SECRET"sudo su
export KUBECONFIG=/etc/kubernetes/admin.conf
kubectl get secrets -n vmsp-platform | grep ssh
vcf-mgmt-########-ssh-password-secret" with this output.kubectl patch secret vcf-mgmt-########-ssh-password-secret -n vmsp-platform -p "{\"data\":{\"sshPassword\":\"OUTPUT-OF-$SECRET\"}}"
# Replace text [OUTPUT-OF-$SECRET] above with the $SECRET value saved earlier.
secret/secret
vcf-mgmt-########-ssh-password-secretpatched
Note: If you find that day 2 operations is still failing in Fleet Manager for the VCF Automation component even after updating and then remediating password, please ensure that the correct password alias is selected when retrying the task. If required please create a new password in the locker with the new password.
With the upcoming 9.x release, a new Fleet LCM / VCF Operations component will be introduced. The updated VCF Ops will support password rotation and also provide the ability to configure a policy for passwords to never expire out of the box.