#1 Global Leader in Data Resilience

Granular sudo Permissions for Management of Veeam Agent for Oracle Solaris

KB ID: 4674
Product: Veeam Agent for Oracle Solaris | 4.5
Published: 2024-10-11
Last Modified: 2024-12-17
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.

Purpose

This article provides examples of granular ‘sudo’ configuration for the Linux account that will be used by Veeam Backup & Replication when managing Veeam Agent for Oracle Solaris deployments with a Protection Group.

Solution

The following granular sudo permissions were tested with Veeam Agent for Oracle Solaris 4.5 and Veeam Backup & Replication 12.2.
Veeam Agent for Oracle Solaris - Intel x86
#MISC
veeamdep ALL=(root) /usr/bin/whoami

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

#RM
veeamdep ALL=(root) /usr/bin/rm /opt/veeam/veeaminstaller_solaris_x64
veeamdep ALL=(root) /usr/bin/rm -f /tmp/VeeamAgentSolaris-*-i386.tar
veeamdep ALL=(root) /usr/bin/rm /tmp/VeeamAgentSolaris-*-i386.tar
veeamdep ALL=(root) /usr/bin/rm /tmp/VeeamAgent-*-i386.pkg
veeamdep ALL=(root) /usr/bin/rm /tmp/mlocate-*-i386.pkg
veeamdep ALL=(root) /usr/bin/rm /tmp/xorriso-*-i386.pkg
veeamdep ALL=(root) /usr/bin/rmdir /opt/veeam/Upload
veeamdep ALL=(root) /usr/bin/rmdir /opt/veeam

#DEPLOYMENT INSTALL RESCAN
veeamdep ALL=(root) /usr/bin/digest -a md5 /opt/veeam/veeaminstaller_solaris_x64
veeamdep ALL=(root) /usr/bin/touch /opt/veeam/veeaminstaller_solaris_x64
veeamdep ALL=(root) /usr/bin/chmod 0750 /opt/veeam/veeaminstaller_solaris_x64
veeamdep ALL=(root) /usr/bin/cp -f /export/home/veeamdep/* /opt/veeam/veeaminstaller_solaris_x64
veeamdep ALL=(root) /usr/bin/chown root* /opt/veeam/veeaminstaller_solaris_x64
veeamdep ALL=(root) /opt/veeam/veeaminstaller_solaris_x64 system-info --format VBR
veeamdep ALL=(root) /opt/veeam/veeaminstaller_solaris_x64 agent-version
veeamdep ALL=(root) /opt/veeam/veeaminstaller_solaris_x64 check-package-name --name VeeamAgent
veeamdep ALL=(root) /usr/bin/gunzip /tmp/VeeamAgentSolaris-*-i386.tar.gz
veeamdep ALL=(root) /usr/bin/tar -tf /tmp/VeeamAgentSolaris-*-i386.tar
veeamdep ALL=(root) /usr/bin/sh -c cd /tmp && tar -xf /tmp/VeeamAgentSolaris-*-i386.tar
veeamdep ALL=(root) /opt/veeam/veeaminstaller_solaris_x64 install-packages --packages /tmp/VeeamAgent-*-i386.pkg
veeamdep ALL=(root) /opt/veeam/veeaminstaller_solaris_x64 update-packages --packages /tmp/VeeamAgent-*-i386.pkg
veeamdep ALL=(root) /opt/veeam/veeaminstaller_solaris_x64 remove-packages --packages VeeamAgent

#VEEAMCONFIG
veeamdep ALL=(root) /usr/sbin/veeamconfig vbrcmd print --agentInfo
veeamdep ALL=(root) /usr/sbin/veeamconfig --stdin
Veeam Agent for Oracle Solaris - Oracle SPARC
#MISC
veeamdep ALL=(root) /usr/bin/whoami

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

#RM
veeamdep ALL=(root) /usr/bin/rm /opt/veeam/veeaminstaller_solaris_sparc64
veeamdep ALL=(root) /usr/bin/rm -f /tmp/VeeamAgentSolaris-*-sparc.tar
veeamdep ALL=(root) /usr/bin/rm /tmp/VeeamAgentSolaris-*-sparc.tar
veeamdep ALL=(root) /usr/bin/rm /tmp/VeeamAgent-*-sparc.pkg
veeamdep ALL=(root) /usr/bin/rm /tmp/mlocate-*-sparc.pkg
veeamdep ALL=(root) /usr/bin/rm /tmp/xorriso-*-sparc.pkg
veeamdep ALL=(root) /usr/bin/rmdir /opt/veeam/Upload
veeamdep ALL=(root) /usr/bin/rmdir /opt/veeam

#DEPLOYMENT INSTALL RESCAN
veeamdep ALL=(root) /usr/bin/digest -a md5 /opt/veeam/veeaminstaller_solaris_sparc64
veeamdep ALL=(root) /usr/bin/touch /opt/veeam/veeaminstaller_solaris_sparc64
veeamdep ALL=(root) /usr/bin/chmod 0750 /opt/veeam/veeaminstaller_solaris_sparc64
veeamdep ALL=(root) /usr/bin/cp -f /export/home/veeamdep/* /opt/veeam/veeaminstaller_solaris_sparc64
veeamdep ALL=(root) /usr/bin/chown root* /opt/veeam/veeaminstaller_solaris_sparc64
veeamdep ALL=(root) /opt/veeam/veeaminstaller_solaris_sparc64 system-info --format VBR
veeamdep ALL=(root) /opt/veeam/veeaminstaller_solaris_sparc64 agent-version
veeamdep ALL=(root) /opt/veeam/veeaminstaller_solaris_sparc64 check-package-name --name VeeamAgent
veeamdep ALL=(root) /usr/bin/gunzip /tmp/VeeamAgentSolaris-*-sparc.tar.gz
veeamdep ALL=(root) /usr/bin/tar -tf /tmp/VeeamAgentSolaris-*-sparc.tar
veeamdep ALL=(root) /usr/bin/sh -c cd /tmp && tar -xf /tmp/VeeamAgentSolaris-*-sparc.tar
veeamdep ALL=(root) /opt/veeam/veeaminstaller_solaris_sparc64 install-packages --packages /tmp/VeeamAgent-*-sparc.pkg
veeamdep ALL=(root) /opt/veeam/veeaminstaller_solaris_sparc64 update-packages --packages /tmp/VeeamAgent-*-sparc.pkg
veeamdep ALL=(root) /opt/veeam/veeaminstaller_solaris_sparc64 remove-packages --packages VeeamAgent

#VEEAMCONFIG
veeamdep ALL=(root) /usr/sbin/veeamconfig vbrcmd print --agentInfo
veeamdep ALL=(root) /usr/sbin/veeamconfig --stdin
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.