Setting up the user and group on AIX
On AIX® systems, IBM® MQ requires a user ID of the name mqm
, with
a primary group of mqm
. The mqm
user ID owns the directories and
files that contain the resources associated with the product.
Creating the user ID and group
mqm
user to the group mqm
.
mqm
and/or user mqm
do not exist, during the
installation of the product, the installer creates group mqm
and user
mqm
with a home directory of /var/mqmIf you are installing IBM MQ on multiple systems you
might want to ensure each UID and GID of mqm
has the same value on all systems. If
you are planning to configure multi-instance queue managers, it is essential the UID and GID are the
same from system to system. It is also important to have the same UID and GID values in
virtualization scenarios.
- To create the
mqm
group, display the required window using this sequence:
Set the group name field toSecurity & Users Groups Add a Group
mqm
. - To create the user
mqm
, display the required window using this sequence:
Set the user name field toSecurity & Users Users Add a User
mqm
. - To add a password to the new user ID, display the required window using this sequence:
Set the password as required.Security & Users Passwords Change a User's Password
Adding existing user IDs to the group
If you want to run administration commands, for example crtmqm (create queue
manager) or strmqm (start queue manager), your user ID must be a member of the
mqm
group. This user ID must not be longer than 12 characters.
Users do not need mqm
group authority to run applications that use the queue
manager; it is needed only for the administration commands.
mqm
group.
Display the required menu using this sequence:
Security & Users
Users
Change / Show Characteristics of a User
Type the name of the user in the User Name field and press
Enter. Add mqm
to the Group SET
field, which is a comma-separated list of the groups to which the user belongs. Users do not need to
have their primary group set to mqm
. If mqm
is in their set of
groups, they can use the administration commands. Log files created by MQ Telemetry service
The umask setting of the user ID that creates a queue manager will determine
the permissions of the Telemetry log files generated for that queue manager. Even though the
ownership of the log files will be set to mqm
.