Granting limited administrative access to a queue manager

Grant partial administrative access to a queue manager, to each group of users with a business need for it.

About this task

To grant limited administrative access to perform some actions on the queue manager, use the appropriate commands for your operating system.
On Multiplatforms platforms, you can also use the SET AUTHREC command.
[MQ Appliance]Note: On IBM® MQ Appliance you can use only the SET AUTHREC command.

Procedure

  • [AIX, Linux, Windows] On AIX®, Linux®, and Windows:
    
    setmqaut -m QMgrName -n ObjectProfile -t qmgr -g GroupName ReqdAction
    
  • [IBM i] On IBM i:
    
    GRTMQMAUT OBJ(' ObjectProfile ') OBJTYPE(*MQM) USER(GroupName) AUT(ReqdAction) MQMNAME(' QMgrName ')
    
  • [z/OS] On z/OS®:
    To determine which MQSC commands you can perform on the queue manager, issue the following commands for each MQSC command:
    
    RDEFINE MQCMDS QMgrName. ReqdAction.QMGR UACC(NONE)
    PERMIT QMgrName. ReqdAction.QMGR CLASS(MQCMDS) ID(GroupName) ACCESS(ALTER)
    
    To permit the user to use the DISPLAY QMGR command, issue the following commands:
    
    RDEFINE MQCMDS QMgrName.DISPLAY.QMGR UACC(NONE)
    PERMIT QMgrName.DISPLAY.QMGR CLASS(MQCMDS) ID(GroupName) ACCESS(READ)
    
    The variable names have the following meanings:
    QMgrName
    The name of the queue manager.
    ObjectProfile
    The name of the object or generic profile for which to change authorizations.
    GroupName
    The name of the group to be granted access.
    ReqdAction
    The action you are allowing the group to take:
    • [AIX, Linux, Windows]On AIX, Linux, and Windows, any combination of the following authorizations: +chg, +clr, +crt, +dlt, +dsp. The authorization +alladm is equivalent to +chg +clr +dlt +dsp.

      Although +set is an MQI authorization and not normally considered administrative, granting +set on the queue manager can indirectly lead to full administrative authority. Do not grant +set to ordinary users and applications.

    • [IBM i]On IBM i, any combination of the following authorizations: *ADMCHG, *ADMCLR, *ADMCRT, *ADMDLT, *ADMDSP. The authorization *ALLADM is equivalent to all these individual authorizations.