This is a known issue for ESXi 4.0.x caused due to VIX configuration to use the PAM libraries in the guest to perform authentication.. To resolve this issue, upgrade to ESXi to 4.1. You can download the update from the
ESXi Download Center. For more information, see the
ESXi 4.1 Release Notes.
Alternatively, if you do not wish to upgrade, to workaround this issue:
- SSH to the Virtual Machine Guest OS and locate the file, /etc/pam.d/vmware-guestd, and add these lines.
Note: If these lines are already exist, comment the existing lines and add these new lines:
auth sufficient /lib/security/pam_unix.so shadow nullok
account sufficient /lib/security/pam_unix.so
- Save the file and restart the vmware-guestd service using this command:
/etc/init.d/vmware-tools restart