#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.

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

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

Veeam Backup & Replication
Veeam Data Cloud for Microsoft 365
Veeam Data Cloud for Microsoft Entra ID
Veeam Data Cloud for Salesforce
Veeam Data Cloud for Microsoft Azure
Veeam Data Cloud Vault
Veeam Backup for Microsoft 365
Veeam Backup for Microsoft Entra ID
Veeam Backup for Salesforce
Veeam ONE
Veeam Service Provider Console
Veeam Agent for Microsoft Windows
Veeam Agent for Linux
Veeam Backup for Nutanix AHV
Veeam Backup for AWS
Veeam Backup for Microsoft Azure
Veeam Backup for Google Cloud
Veeam Backup for Oracle Linux Virtualization Manager and Red Hat Virtualization
Veeam Management Pack for Microsoft System Center
Veeam Recovery Orchestrator
Veeam Agent for Mac
Veeam Agent for IBM AIX
Veeam Agent for Oracle Solaris
Veeam Cloud Connect
Veeam Kasten for Kubernetes
By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
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.