Skip to content

How do you setup pam authentication? #603

@chcshinimai

Description

@chcshinimai

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions