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:
- Log in to the Linux node as root user.
- Open the /etc/sudoer file or run visudo to edit the configuration file.
- 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
- Determine whether the backup source node is 32 or 64 bit and locate the correct binary on the backup agent server:
- Copy the determined binary from step 4 to the backup source node as d2d_ea and then place at ‘/usr/bin/d2d_ea’.
- Run the following command to verify execution permission:
chmod +x /usr/bin/d2d_ea
For 32 bit: /opt/Arcserve/d2dserver/sbin/ea.32
For 64 bit: /opt/Arcserve/d2dserver/sbin/ea.64
You have successfully configured Sudo for allowing only the backup agent process.