This section tells you how to create groups and add users to them.
It also describes how to remove a user from a group. Any changes you make to a principal's group membership are not
recognized until the queue manager is restarted, unless you issue the MQSC
command REFRESH SECURITY (or the PCF equivalent).
On Windows NT, use the User Manager to work with groups.
- From Administrative Tools (Common) on the Start Programs pulldown, select
User Manager to display the User Manager panel.
- From the User pulldown, select New Local Group.
- Enter a name for the group. You can also add a description to help
identify the group.
- Click Add to display the Add Users and Groups panel.
- Highlight the name of a user that you want to add to the group and click
Add. The name appears on the list of names to add.
- If you want to add other users to the group, repeat step 5 for each
user.
- When you have finished adding names to the list, click OK.
- Click OK to create the group.
- From Administrative Tools (Common) on the Start Programs pulldown, select
User Manager to display the User Manager panel.
- Highlight the name of the group from the list of groups and double click
to display the Local Group Properties panel.
- Click Add to display the Add Users and Groups panel.
- Highlight the name of the user that you want to add to the group and click
Add. The name appears on the list of names to add.
- If you want to add other users to the group, repeat step 4 for each
user.
- When you have finished adding names to the list, click OK.
- Click OK to add the names to the group.
- From Administrative Tools (Common) on the Start Programs pulldown, select
User Manager to display the User Manager panel.
- Highlight the name of the group from the list of groups and double click
to display the Local Group Properties panel, showing a list of the members of
the group.
- From Administrative Tools (Common) on the Start Programs pulldown, select
User Manager to display the User Manager panel.
- Highlight the name of the group from the list of groups and double click
to display the Local Group Properties panel.
- Select the name of the user that you want to remove and click
Remove.
- If you want to remove other users from the group, repeat Step 3.
- When you have finished removing names from the list, click OK.
On HP-UX, use the System Administration Manager (SAM) to work with
groups.
- From the System Administration Manager (SAM), double click Accounts for
Users and Groups.
- Double click Groups.
- Select Add from the Actions pull down to display the Add a New Group
panel.
- Enter the name of the group and select the users that you want to add to
the group.
- Click Apply to create the group.
- From the System Administration Manager (SAM), double click Accounts for
Users and Groups.
- Double click Groups.
- Highlight the name of the group and select Modify from the Actions pull
down to display the Modify an Existing Group panel.
- Select a user that you want to add to the group and click Add.
- If you want to add other users to the group, repeat step 4 for each
user.
- When you have finished adding names to the list, click OK.
- From the System Administration Manager (SAM), double click Accounts for
Users and Groups.
- Double click Groups.
- Highlight the name of the group and select Modify from the Actions pull
down to display the Modify an Existing Group panel, showing a list of the
users in the group.
- From the System Administration Manager (SAM), double click Accounts for
Users and Groups.
- Double click Groups.
- Highlight the name of the group and select Modify from the Actions pull
down to display the Modify an Existing Group panel.
- Select a user that you want to remove from the group and click
Remove.
- If you want to remove other users from the group, repeat step 4 for each
user.
- When you have finished removing names from the list, click OK.
On AIX, use SMITTY to work with groups.
- From SMITTY, select Security and Users and press Enter.
- Select Groups and press Enter.
- Select Add a Group and press Enter.
- Enter the name of the group and the names of any users that you want to
add to the group, separated by commas.
- Press Enter to create the group.
- From SMITTY, select Security and Users and press Enter.
- Select Groups and press Enter.
- Select Change / Show Characteristics of Groups and press Enter.
- Enter the name of the group to show a list of the members of the
group.
- Add the names of the users that you want to add to the group, separated by
commas.
- Press Enter to add the names to the group.
- From SMITTY, select Security and Users and press Enter.
- Select Groups and press Enter.
- Select Change / Show Characteristics of Groups and press Enter.
- Enter the name of the group to show a list of the members of the
group.
- From SMITTY, select Security and Users and press Enter.
- Select Groups and press Enter.
- Select Change / Show Characteristics of Groups and press Enter.
- Enter the name of the group to show a list of the members of the
group.
- Delete the names of the users that you want to remove from the
group.
- Press Enter to remove the names from the group.
On Solaris, use the /etc/group file to work with groups.
To create a new group, type the following command:
groupadd group-name
Where group-name is the name of the group.
To add a user to a group, edit the /etc/group file.
Find the line defining the group to which you want to add a member, and add
the user ID to the list of user IDs in that group.
For example, the entry for a group called mquser, containing members user1,
user2, and user3 might look like this:
mquser::42428:root,user1,user2,user3
To display who is a member of a group, look at the entry for that group
in the /etc/group file.
To remove a member from a group, remove the user ID from the entry for
that group in the /etc/group file.
On Linux, use the /etc/group file to work with groups.
To create a new group, type the following command:
groupadd -g group-ID group-name
Where group-ID is the numeric identifier of the group, and
group-name is the name of the group.
To add a user to a group, edit the /etc/group file.
Find the line defining the group to which you want to add a member, and add
the user ID to the list of user IDs in that group.
For example, the entry for a group called mquser, containing members user1,
user2, and user3 might look like this:
mquser::42428:root,user1,user2,user3
To display who is a member of a group, look at the entry for that group
in the /etc/group file.
To remove a member from a the group, remove the user ID from the entry
for that group in the /etc/group file.
© IBM Corporation 1994, 2002. All Rights Reserved