Article ID: 54364
Article Type: Troubleshooting
Last Modified:
To perform agentless restores for Linux VMs that include pluggable authentication modules (PAMs), add rules in vmtoolsd for auth and account modules.
For Linux VMs that use Pluggable Authentication Modules (PAMs), agentless restores fail with authentication errors.
The vmtoolsd service must be configured to provide the same authentication credentials as sshd.
Modify the /etc/pam.d/vmtoolsd file to use the same rules as sshd. The following example shows a file with the required modifications:
#%PAM-1.0
auth required pam_sepermit.so
auth substack password-auth
auth include postlogin
account required pam_nologin.so
account include password-auth
Run the following command to restart the vmtoolsd service:
service vmtoolsd restart