Configure Sudo to Allow Only Backup Agent Process

When the user is only permitted to use limited commands under sudo, manual installation of backup agent program is required. For backup jobs to run, sudo permission is required for the d2d_ea process.

Follow these steps:

  1. Log in to the Linux node as root user.
  2. Open the /etc/sudoer file or run visudo to edit the configuration file.
  3. Navigate to the configuration line for the specified user and add ‘/usr/bin/d2d_ea’ to the allowed commands configuration item.

    For example, if the user name is backupadmin, add ‘/usr/bin/d2d_ea’ as shown in the following example:

    Example: backupadmin ALL=(ALL) /usr/bin/d2d_ea

  4. Determine whether the backup source node is 32 or 64 bit and locate the correct binary on the backup agent server:
  5. Copy the determined binary from step 4 to the backup source node as d2d_ea and then place at ‘/usr/bin/d2d_ea’.
  6. For 32 bit: /opt/Arcserve/d2dserver/sbin/ea.32

    For 64 bit: /opt/Arcserve/d2dserver/sbin/ea.64

  7. Run the following command to verify execution permission:

    chmod +x /usr/bin/d2d_ea

You have successfully configured Sudo for allowing only the backup agent process.