VMware Agentless Restores Fail for Linux VMs With Pluggable Authentication Modules

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.

Symptoms

For Linux VMs that use Pluggable Authentication Modules (PAMs), agentless restores fail with authentication errors.

Causes

The vmtoolsd service must be configured to provide the same authentication credentials as sshd.

Resolution

  1. 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

  2. Run the following command to restart the vmtoolsd service:

    service vmtoolsd restart

1 Commvault Way, Tinton Falls, NJ 07724 Sitemap | Legal Notices | Trademarks | Privacy Policy
Copyright © 2022 Commvault | All Rights Reserved.