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
- ssh to appliance VM using below command
- Change the user to root user using below command
- 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
- Retry login to appliance UI