pcs cluster auth or pcs host auth fails with "Username and/or password is incorrect" and /var/log/secure shows a pam_access error
Issue
- The
pcs cluster auth
orpcs host auth
command fails with a bad password error./var/log/secure
shows a message like the following when the login fails:
Jan 10 07:51:06 node1 ruby: pam_access(pcsd:account): access denied for user `hacluster' from `pcsd'
Environment
- Red Hat Enterprise Linux 7 or 8 (with the High Availability Add-on)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.