IBM SmartCloud Analytics - Log Analysis, Version 1.2.0.3

Creating a group and adding a user

You can create a group by adding it to the registry file. This topic outlines how to add a new group to the basic registry and adding a user to this group.

About this task

You can use either a basic user registry or LDAP authentication for user authentication. For both types, you create users and assign these users to groups. You later assign roles to the groups to govern the data that users can access.

The procedure describes how to add a new groups for the basic user registry. If you use LDAP authentication, you must use your LDAP application to create groups. You can modify the existing groups, UnityAdmins and UnityUsers or you can create your own.

Procedure

  1. Open the unityUserRegistry.xml file located in the <HOME>/IBM/LogAnalysis/wlp/usr/servers/Unity directory.
  2. Locate the line:
    <basicRegistry id="basic" realm="UnityRealm">
  3. Add a new subsection to the basicRegistry stanza:
    <group name="New_Group">
    </group>
    where New_Group is the group that you want to create.
  4. Save the file.

Results

After you create the groups, assign the appropriate roles to the groups. See Assigning roles.

Example

This example demonstrates the group Management with the user unityadmin as a member of this group:

<server>
 <basicRegistry id="basic" realm="UnityRealm">
  <user name="unityuser" password="{xor}KjE2KyYqLDot" />
  <user name="unityadmin" password="{xor}KjE2KyY+OzI2MQ==" />
  <group name="UnityUsers">
     <member name="unityuser" />
     <member name="unityadmin" />
  </group>
  <group name="UnityAdmins">
     <member name="unityadmin" />
  </group>
 	<group name="Management">
     <member name="unityadmin" />
  </group>
 </basicRegistry>
</server>


Feedback