Profiles for namelists
If namelist security is active, you define profiles in the appropriate classes and give the necessary groups or user IDs access to these profiles.
If namelist security is active, we must:
- Define profiles in the MQNLIST or GMQNLIST classes if using uppercase profiles.
- Define profiles in the MXNLIST or GMXNLIST classes if using mixed case profiles.
- Permit the necessary groups or user IDs access to these profiles.
Profiles for namelists take the form:
hlq.namelistnamewhere hlq can be either qmgr-name (queue manager name) or qsg-name (queue sharing group name), and namelistname is the name of the namelist being opened.
A profile prefixed by the queue manager name controls access to a single namelist on that queue manager. A profile prefixed by the queue sharing group name controls access to access to one or more namelists with that name on all queue managers within the queue sharing group. This access can be overridden on an individual queue manager by defining a queue manager level profile for that namelist on that queue manager.
If your queue manager is a member of a queue sharing group and we are using both queue manager and queue sharing group level security, IBM MQ checks for a profile prefixed by the queue manager name first. If it does not find one, it looks for a profile prefixed by the queue sharing group name.
The following table shows the access required for opening a namelist.
For example, on queue manager (or queue sharing group) PQM3, the RACF group DEPT571 must be able to inquire ( MQINQ ) on these namelists:
MQOPEN option RACF access level required to hlq.namelistname MQOO_INQUIRE READ
- All namelists starting with
DEPT571.- PRINTER/DESTINATIONS/DEPT571
- AGENCY/REQUEST/QUEUES
- WAREHOUSE.BROADCAST
The RACF definitions to do this are:
RDEFINE MQNLIST PQM3.DEPT571.** UACC(NONE) PERMIT PQM3.DEPT571.** CLASS(MQNLIST) ID(DEPT571) ACCESS(READ) RDEFINE GMQNLIST NLISTS.FOR.DEPT571 UACC(NONE) ADDMEM(PQM3.PRINTER/DESTINATIONS/DEPT571, PQM3.AGENCY/REQUEST/QUEUES, PQM3.WAREHOUSE.BROADCAST) PERMIT NLISTS.FOR.DEPT571 CLASS(GMQNLIST) ID(DEPT571) ACCESS(READ)Alternate user security might be active, depending on the options specified when a namelist object is opened.
System namelist security
Many of the system namelists are accessed by the ancillary parts of IBM MQ:
- The CSQUTIL utility
- The operations and control panels
- The channel initiator address space (including the Queued Publish/Subscribe Daemon)
The user IDs under which these run must be given RACF access to these namelists, as shown in Table 2.
Parent topic: Profiles used to control access to IBM MQ resources
SYSTEM namelist CSQUTIL Operations and control panels Channel initiator for distributed queuing SYSTEM.QPUBSUB.QUEUE.NAMELIST - - READ SYSTEM.QPUBSUB.SUBPOINT.NAMELIST - - READ