Editing the sudoer Configuration File

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