Create and managing groups

 


Overview

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).

 

HP-UX

On HP-UX, use the System Administration Manager (SAM) to work with groups.

 

Creating a group

  1. From the System Administration Manager (SAM), double click Accounts for Users and Groups.

  2. Double click Groups.

  3. Select Add from the Actions pull down to display the Add a New Group panel.

  4. Enter the name of the group and select the users that you want to add to the group.

  5. Click Apply to create the group.

 

Adding a user to a group

  1. From the System Administration Manager (SAM), double click Accounts for Users and Groups.

  2. Double click Groups.

  3. Highlight the name of the group and select Modify from the Actions pull down to display the Modify an Existing Group panel.

  4. Select a user that you want to add to the group and click Add.

  5. If you want to add other users to the group, repeat step 4 for each user.

  6. When you have finished adding names to the list, click OK.

 

Displaying who is in a group

  1. From the System Administration Manager (SAM), double click Accounts for Users and Groups.

  2. Double click Groups.

  3. 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.

 

Removing a user from a group

  1. From the System Administration Manager (SAM), double click Accounts for Users and Groups.

  2. Double click Groups.

  3. Highlight the name of the group and select Modify from the Actions pull down to display the Modify an Existing Group panel.

  4. Select a user that you want to remove from the group and click Remove.

  5. If you want to remove other users from the group, repeat step 4 for each user.

  6. When you have finished removing names from the list, click OK.

 

AIX

On AIX, use SMITTY to work with groups.

 

Creating a group

  1. From SMITTY, select Security and Users and press Enter.

  2. Select Groups and press Enter.

  3. Select Add a Group and press Enter.

  4. Enter the name of the group and the names of any users that you want to add to the group, separated by commas.

  5. Press Enter to create the group.

 

Adding a user to a group

  1. From SMITTY, select Security and Users and press Enter.

  2. Select Groups and press Enter.

  3. Select Change / Show Characteristics of Groups and press Enter.

  4. Enter the name of the group to show a list of the members of the group.

  5. Add the names of the users that you want to add to the group, separated by commas.

  6. Press Enter to add the names to the group.

 

Displaying who is in a group

  1. From SMITTY, select Security and Users and press Enter.

  2. Select Groups and press Enter.

  3. Select Change / Show Characteristics of Groups and press Enter.

  4. Enter the name of the group to show a list of the members of the group.

 

Removing a user from a group

  1. From SMITTY, select Security and Users and press Enter.

  2. Select Groups and press Enter.

  3. Select Change / Show Characteristics of Groups and press Enter.

  4. Enter the name of the group to show a list of the members of the group.

  5. Delete the names of the users that you want to remove from the group.

  6. Press Enter to remove the names from the group.

 

Solaris

On Solaris, use the /etc/group file to work with groups.

 

Creating a group

To create a new group, type the following command:

groupadd group-name

Where group-name is the name of the group.

 

Adding a user to a 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  

 

Displaying who is in a group

To display who is a member of a group, look at the entry for that group in the /etc/group file.

 

Removing a user from a group

To remove a member from a group, remove the user ID from the entry for that group in the /etc/group file.

 

Linux

On Linux, use the /etc/group file to work with groups.

 

Creating a group

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.

 

Adding a user to a 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  

 

Displaying who is in a group

To display who is a member of a group, look at the entry for that group in the /etc/group file.

 

Removing a user from a group

To remove a member from a the group, remove the user ID from the entry for that group in the /etc/group file.

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.