#1 Global Leader in Data Resilience

Granular sudo Permissions for Installing Veeam Plug-ins for Enterprise Applications using Protection Groups

KB ID: 4702
Product: Veeam Backup & Replication | 12.3
Published: 2024-12-18
Last Modified: 2024-12-18
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please, try again later.

Challenge

This article provides an example granular ‘sudoer’ configuration for the Linux account that will be used by Veeam Backup & Replication when installing Veeam Plug-Ins for Enterprise Applications using a Protection Group, specifically for Veeam Plug-in for Oracle RMAN and Veeam Plug-in for SAP HANA on Linux.

Note: This article documents sudo permission requirements for installation of the plugins only. Operational permissions for the Enterprise Application Plug-Ins can be found here:

Solution

Alternate Solution: Use Certificate-Based Authentication
As an alternative to password-based authentication and granular sudoer configuration, you have the option to install Veeam Plug-ins for Enterprise Applications on Linux computers using certificate-based authentication. To do so, you must install Veeam Deployer Service on the computer and then add the computer to a protection group of the Individual computer type. In this case, Veeam Backup & Replication does not require an SSH connection to install the Veeam Plug-ins for Enterprise Applications.

sudo Permission for Deploying Veeam Plug-in for Oracle RMAN on Linux

Note: Replace veeamdep with the username for the account the Protection Group will use to install the plug-in.

#MISC 
veeamdep ALL=(root) /usr/bin/id -au
veeamdep ALL=(root) /bin/whoami

#MKDIR
veeamdep ALL=(root) /bin/mkdir -p /opt/veeam

#RM
veeamdep ALL=(root) /bin/rmdir /opt/veeam
veeamdep ALL=(root) /bin/rm /opt/veeam/veeaminstaller
veeamdep ALL=(root) /bin/rm /opt/veeam/ValPackageIndex.xml
veeamdep ALL=(root) /bin/rm -rf /opt/veeam/deployment
veeamdep ALL=(root) /bin/rmdir /opt/veeam/Upload

#DEPLOYMENT
veeamdep ALL=(root) /bin/yum --assumeyes --errorlevel=0 install /tmp/veeamdeployment-*.rpm
veeamdep ALL=(root) /bin/yum --assumeyes --errorlevel=0 --disablerepo=* install /tmp/veeamdeployment-*.rpm
veeamdep ALL=(root) /bin/yum --assumeyes --errorlevel=0 remove veeamdeployment
veeamdep ALL=(root) /opt/veeam/deployment/veeamdeploymentsvc
veeamdep ALL=(root) /bin/rpm --install /tmp/veeamdeployment-*.rpm
veeamdep ALL=(root) /bin/rpm --erase veeamdeployment
veeamdep ALL=(root) /usr/bin/zypper --terse --non-interactive --no-gpg-checks install --auto-agree-with-licenses --force-resolution /tmp/veeamdeployment-*.rpm
veeamdep ALL=(root) /usr/bin/zypper --terse --non-interactive --no-gpg-checks remove veeamdeployment

#TRANSPORT
veeamdep ALL=(root) /opt/veeam/transport/veeamtransport-link
veeamdep ALL=(root) /opt/veeam/transport/veeamtransport

sudo Permission for Deploying Veeam Plug-in for SAP HANA on x64 Linux

Note: Replace veeamdep with the username for the account the Protection Group will use to install the plug-in.

#MISC 
veeamdep ALL=(root) /usr/bin/id -au
veeamdep ALL=(root) /bin/whoami

#MKDIR
veeamdep ALL=(root) /bin/mkdir -p /opt/veeam

#RM
veeamdep ALL=(root) /bin/rmdir /opt/veeam
veeamdep ALL=(root) /bin/rm /opt/veeam/veeaminstaller
veeamdep ALL=(root) /bin/rm /opt/veeam/ValPackageIndex.xml
veeamdep ALL=(root) /bin/rm -rf /opt/veeam/deployment
veeamdep ALL=(root) /bin/rmdir /opt/veeam/Upload

#DEPLOYMENT
veeamdep ALL=(root) /bin/yum --assumeyes --errorlevel=0 install /tmp/veeamdeployment-*.rpm
veeamdep ALL=(root) /bin/yum --assumeyes --errorlevel=0 --disablerepo=* install /tmp/veeamdeployment-*.rpm
veeamdep ALL=(root) /bin/yum --assumeyes --errorlevel=0 remove veeamdeployment
veeamdep ALL=(root) /opt/veeam/deployment/veeamdeploymentsvc
veeamdep ALL=(root) /bin/rpm --install /tmp/veeamdeployment-*.rpm
veeamdep ALL=(root) /bin/rpm --erase veeamdeployment
veeamdep ALL=(root) /usr/bin/zypper --terse --non-interactive --no-gpg-checks install --auto-agree-with-licenses --force-resolution /tmp/veeamdeployment-*.rpm
veeamdep ALL=(root) /usr/bin/zypper --terse --non-interactive --no-gpg-checks remove veeamdeployment

#TRANSPORT
veeamdep ALL=(root) /opt/veeam/transport/veeamtransport-link
veeamdep ALL=(root) /opt/veeam/transport/veeamtransport

#SAP HANA
veeamdep ALL=(root) /opt/veeam/VeeamPluginforSAPHANA/SapBackintManager
veeamdep ALL=(root) /bin/ps -eo pid
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.