Nutanix Local Account Locked

If you somehow managed to lock a local Prism Element or Central user account then do the folloing to unlock

ssh to CVM or PCVM with the “nutanix” credentials and enter the following

allssh sudo faillock –user <username_to_unlock> –reset