Configure the NNCentral Account

For security reasons, you must create an NNCentral user account named nncentral and an NNCentral group named nncentral on the server to administer Oracle Communications Session Delivery Manager related server operations. You also must specify limited sudo privileges for the nncentral user and nncentral group. After the Oracle Communications Session Delivery Manager installation, all the installed files are owned by the nncentral account. The main Oracle Communications Session Delivery Manager process has to run as a sudo user in order to have access to port 162.

Add the NNCentral Group and NNCentral User Account

The nncentral group and user account must be added to administer Oracle Communications Session Delivery Manager server operations on your Linux server.

  1. Login to the server as the root user.
  2. Add the nncentral group
    groupadd nncentral
  3. Add the nncentral user account.
    useradd -m -g nncentral -d /home/nncentral -s /bin/bash nncentral
  4. Set the password for the nncentral user.
    passwd nncentral
  5. If you are prompted to enter a new password, reenter the password that you entered in step 4.
    The following message displays:
    passwd: all authentication tokens updated successfully.

Specify NNCentral User Privileges

You must specify limited privileges for an NNCentral user on the Linux server, so this user can administer Oracle Communications Session Delivery Manager operations on the server.

You must use visudo to make edits to the sudoer configuration file.

Note:

This file can only be edited using Linux visual text editor (vi editor) commands.
  1. Login to the server as the root user.
  2. Execute visudo.
    # visudo
  3. Press i to enter insert mode and begin adding text.
  4. Add the following line to specify NNCentral user privileges in the sudoer configuration to give the NNCentral user the limited authority to run Oracle Communications Session Delivery Manager:

    Note:

    The placeholder <my-sdm-install-directory> is the name of the directory where you installed SDM and the command line as shown below is not valid without modification. Also, the entire entry must be entered on the same line. Take notice also that the example below may wrap as it is shown, depending on how you are viewing this document (HTML or PDF).
    nncentral ALL=/<my-sdm-install-directory>/AcmePacket/NNC*/jre/bin/java * -Dlog4j.configuration*=* -cp * com.acmepacket.ems.server.services.snmp.TrapRelay.TrapRelay *
  5. Press Esc to return to command mode.
  6. Press :wq to save your changes and exit visudo.

    Note:

    If you want to quit without saving your changes, press :q!.
  7. Ensure that the sudoer configuration for the nncentral user is specified.
    grep nncentral /etc/sudoers