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

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

book

Article ID: 286842

calendar_today

Updated On:

Products

Carbon Black Cloud Workload

Issue/Introduction

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

Environment

Carbon Black Cloud Workload Appliance: All Versions

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