passwd command result in an error similar to the following:module is unknowntcpdump had been previously installed on the appliance.upgrade.log, it can be seen that tcpdump was removed and/or that the photon_vasecurity was installed during the upgrade process.VMware Cloud Director Availability 4.7.3
Installation of tcpdump on the appliance requires the explicit removal of the existing photon_vasecurity rpm, which is unsupported. During the upgrade, photon_vasecurity is reinstalled since it is no longer present, which reapplies configuration settings (including the PAM configuration) that were appropriate when it was first introduced to the system, but have changed significantly in later versions of VMware Cloud Director Availability (VCDA). This damages the system authentication layer, which prevents successful authentication and management of the authentication configuration.
In order to remediate the issue, redeploy the tunnel appliance, as detailed in the following:
Alternatively, if there is a valid backup for the appliance, a new appliance can be deployed and the backup restored to address the issue:
Restore the appliances in the cloud
Please note: It is required that backups are restored to the same version of the appliance that was used at the time of backup. Backups taken before the upgrade will require the deployment of an appliance of that version and a subsequent upgrade to align it with the current environment. Individual appliance restorations are not recommended with other appliances (replication manager and replicators) for this behavior since it may create a misalignment in the replication information between the devices.