Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

Granular sudo Permissions for Management of Veeam Agent for Oracle Solaris

$
0
0

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-10-11

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
vbackup ALL=(root) /usr/bin/whoami

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

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

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

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

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

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

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

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

Viewing all articles
Browse latest Browse all 4362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>