Granting limited administrative access to some namelists

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

About this task

To grant limited administrative access to some namelists for some actions, use the appropriate commands for your operating system.
On UNIX, Linux®, Windows systems, and IBM® i, you can also use the SET AUTHREC command.
Note: On IBM MQ Appliance you can use only the SET AUTHREC command.

Procedure

  • For UNIX, Linux and Windows systems, issue the following command:
    
    setmqaut -m QMgrName -n ObjectProfile -t namelist -g GroupName ReqdAction
    
  • [IBMi] For IBM i, issue the following command:
    
    GRTMQMAUT OBJ(' ObjectProfile ') OBJTYPE(*NMLIST) USER(GroupName) AUT(ReqdAction) MQMNAME(' QMgrName ')
    
  • [z/OS]For z/OS®, issue the following commands:
    [z/OS]
    RDEFINE MQADMIN QMgrName.NAMELIST. ObjectProfile UACC(NONE)
    PERMIT QMgrName.NAMELIST. ObjectProfile CLASS(MQADMIN) ID(GroupName) ACCESS(ALTER)
    
    [z/OS]These commands grant access to the specified namelist. To determine which MQSC commands the user can perform on the namelist, issue the following commands for each MQSC command: [z/OS]
    
    RDEFINE MQCMDS QMgrName. ReqdAction.NAMELIST UACC(NONE)
    PERMIT QMgrName. ReqdAction.NAMELIST CLASS(MQCMDS) ID(GroupName) ACCESS(ALTER)
    
    [z/OS]To permit the user to use the DISPLAY NAMELIST command, issue the following commands: [z/OS]
    RDEFINE MQCMDS QMgrName.DISPLAY.NAMELIST UACC(NONE)
    PERMIT QMgrName.DISPLAY.NAMELIST CLASS(MQCMDS) ID(GroupName) ACCESS(READ)
    
    The variable names have the following meanings:
    QMgrName
    The name of the queue manager. [z/OS]On z/OS, this value can also be the name of a queue-sharing group.
    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:
    • On UNIX, Linux and Windows systems, any combination of the following authorizations: +chg, +clr, +crt, +dlt, +ctrl, +ctrlx, +dsp. The authorization +alladm is equivalent to +chg +clr +dlt +dsp.
    • [IBMi]On IBM i, any combination of the following authorizations: *ADMCHG, *ADMCLR, *ADMCRT, *ADMDLT, *ADMDSP, *CTRL, *CTRLX. The authorization *ALLADM is equivalent to all these individual authorizations.
    • [z/OS]On z/OS, one of the values ALTER, CLEAR, DEFINE, DELETE, or MOVE.