var/log/vobd.log that there's no root account locking.var/log/auth.log:yy-mm-dd sshd[2103285]: Connection from <IP> port 55338yy-mm-dd sshd[2103294]: pam_access(sshd:account): access denied for user `root' from `<IP>'yy-mm-dd sshd[2103294]: [module:pam_lsass]pam_sm_acct_mgmt failed [login:root][error code:2]yy-mm-dd sshd[2103294]: [module:pam_lsass]Converting error to 40008 for rootyy-mm-dd sshd[2103285]: error: PAM: User account has expired for root from ####yy-mm-dd sshd[2103285]: error: Received disconnect from <IP> port 55338:14: No supported authentication methods available [preauth]yy-mm-dd sshd[2103285]: Disconnected from authenticating user root <IP> port 55338 [preauth]
[root@ESXi:~] esxcli system permission listPrincipal Is Group Role Role Description------------ -------- -------- ----------------root false Custom CustomIf the Role for root is set to Custom instead of Admin, run the following command:
esxcli system permission set --id root -r Admin