Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

Workload: Error ' Invalid username or password or password has expired' at login but same credentials work for ssh to appliance IP

Workload: Error ' Invalid username or password or password has expired' at login but same credentials work for ssh to appliance IP

Environment

Carbon Black Cloud Workload Appliance: All Versions

Objective

  • Error ' Invalid username or password or password has expired' occurs at login
  • Same username and password work when used to ssh to appliance ip

Resolution

  1. ssh to appliance VM using below command
  • ssh admin@<appliance-ip>
  1. Change the user to root user using below command
  • su
  1. Run below commands to adjust the PAM file settings
  • chmod 644 /etc/security/access.conf
  • /bin/bash -c /opt/vmware/cwp/bin/fix-pam-auth.sh
  • systemctl restart cwp-access-control-service.service
  1. Retry login to appliance UI

Labels (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎01-28-2022
Views:
883
Contributors