Granting authority to access namelists

Grant the authority to access a namelist or set of namelists, to each group of users with a business need for it.


To grant the authority to access some namelists, use the appropriate commands for the operating system. On the following platforms, we can also use the SET AUTHREC command:

  • IBM i
  • Linux
  • UNIX
  • Windows

Note: On IBM MQ Appliance we 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
    +all
    
  • For IBM i, issue the following command:
    GRTMQMAUT OBJ('ObjectProfile
    ') OBJTYPE(*NMLIST) USER(GroupName) AUT(*ALL) MQMNAME('
    QMgrName')
    
  • For z/OS, issue the following commands:
    RDEFINE MQNLIST 
    QMgrName.ObjectProfile UACC(NONE)
    PERMIT QMgrName.ObjectProfile
    CLASS(MQNLIST) ID(GroupName) ACCESS(READ)
    
    The variable names have the following meanings:

      QMgrName
      The name of the queue manager. 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.

Parent topic: Granting required access to resources