mq-container icon indicating copy to clipboard operation
mq-container copied to clipboard

How do you setup pam authentication?

Open chcshinimai opened this issue 2 months ago • 3 comments

I'm trying to upgrade 9.2 to 9.4 with pam authentication in our Kubernetes clusters. Most of the configurations migrated straight to 9.4 from 9.2. However, pam authentication isn't working.

I copied /etc/passwd, /etc/group, /etc/shadow files to authenticate via PAM.

I'm tyring to run the below command

runmqsc -u user QMNAME

It works fine on 9.2 but with 9.4, I get the following errors.

Starting MQSC for queue manager QMNAME.
AMQ8135E: Not authorized.

No MQSC commands read.

I added the following lines to qm.ini but it still doesn't work.

SecurityPolicy:
   AuthenticationPolicy = USERID
   UserIdAuthentication = PAM

I'm pretty much stuck. Any advise appreciated.

chcshinimai avatar Sep 22 '25 09:09 chcshinimai