You can create a user by adding the user name and password
to the basic registry file.
About this task
You can use either a basic user registry or LDAP authentication
for user authentication. For both types, you must create users and
assign these users to groups. You later assign roles to the groups
to govern the data that users can access.
The following procedure
describes how to add a user in the basic user registry. If you use
LDAP authentication, you must create new users directly in your LDAP
application.
Procedure
- Open the unityUserRegistry.xml file
that is in the <HOME>/IBM/LogAnalysis/wlp/usr/servers/Unity directory.
- Locate the line:
<basicRegistry id="basic" realm="UnityRealm">
- Under this line, add the following text:
<user name="ISCLA_username" password="ISCLA_password" />
where ISCLA_username is
the user name for your new user and ISCLA_password is
the password for that user.
- Optional: Run the unity_securityUtility command
that is in the <HOME>/IBM/LogAnalysis/utilities directory
to encode the password. Run the command with the syntax:
unity_securityUtility.sh encode password
where password is
the password that you want to encode. This command displays the encoded
value for the password. Copy the encoded value to overwrite the plain
text password.
- Save the file.
Results
After you create a user, add it to a group and assign the
appropriate roles to the group. If you do not add the user to a group,
assign the appropriate roles to the user. See
Assigning roles.