VCSA 6.5 Patching Failed - expired password for user root (root enforced)
login to the https://vcs002.local:5480 and
Update -> Check Updates -> Install Updates
**** First login to VCSA and put a tail for the logs.****
root@vcs002 [ ~ ]# tail -f /var/log/vmware/messagesThis way you can identify if there any issue with the VCSA Patching - this will show real time logs in the VCSA

once patching started it will failed and you will loss connect to VCSA appliance Management port 5480..
https://vcs002.local:5480
then you can noticed bellow error in the logs,
root@vcs002 [ ~ ]# tail -f /var/log/vmware/messages
2018-09-18T02:47:56.506851+00:00 vcs002 chsh[3552]:
Authentication token is no longer valid; new one required
2018-09-18T02:48:01.070418+00:00 vcs002 useradd[4321]:
pam_unix(useradd:account): expired password for user root (root enforced)
2018-09-18T02:48:01.071122+00:00 vcs002 useradd[4321]:
Authentication token is no longer valid; new one required
that means root password for VCSA was expired and you will be needing
to reset it before proceed with the upgrade. ( By default root password
is set to expire on VCSA)
first reboot the VCSA from the Host and press e
Then edit the GNU grub and add rw init=/bin/bash and press F10 to boot the appliance with change boot
once booted reset the password ( you can reuse the OLD Password )
you might also need to delete logs from the VCSA.


once this is done restart the appliance and continue with the VCSA Patching .