Previous Topic: How to Install ManuallyNext Topic: View or Set the Agent Authentication Key


Create an Authorized User for an Agent

The agent installation for CA User Activity Reporting Module agents on Linux systems does not offer automatic user or user group creation. We recommend that you create an authorized user with the lowest set of privileges required to run the agent before you install.

You must have root access to add a user, and you need to have, or create, a group to contain that user first.

Note: The following procedures assume that the directory, /usr/sbin is in the system path.

To add a group and a user account

  1. Log into the target agent host as a root user and access a command prompt.
  2. Run the following command:
    groupadd <groupname>
    

    This creates the group in the /etc/group file.

  3. Run the following command:
    adduser <username> -g <groupname>
    

    This adds the user specified by <username> to the group, <groupname>.

  4. Set the new user's password with the following command:
    password <username>
    

    This command prompts you to enter and to confirm a new password for this user.