#1 Global Leader in Data Resilience

Granular sudo Permissions for Management of Veeam Agent for IBM AIX

KB ID: 4673
Product: Veeam Backup & Replication | 12.2
Veeam Agent for IBM AIX | 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 IBM AIX deployments with a Protection Group.

Solution

The following granular sudo permissions were tested with Veeam Agent for IBM AIX 4.5 and Veeam Backup & Replication 12.2.
#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_aix_ppc64
veeamdep ALL=(root) /usr/bin/rm -f /tmp/VeeamAgentAix-*-ppc64.tar
veeamdep ALL=(root) /usr/bin/rm /tmp/VeeamAgentAix-*-ppc64.tar
veeamdep ALL=(root) /usr/bin/rm /tmp/VeeamAgent-*-ppc64.rpm
veeamdep ALL=(root) /usr/bin/rm /tmp/mlocate-*.ppc.rpm
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/csum -h MD5 /opt/veeam/veeaminstaller_aix_ppc64
veeamdep ALL=(root) /usr/bin/touch /opt/veeam/veeaminstaller_aix_ppc64
veeamdep ALL=(root) /usr/bin/chmod 0750 /opt/veeam/veeaminstaller_aix_ppc64
veeamdep ALL=(root) /usr/bin/cp -f /home/veeamdep/* /opt/veeam/veeaminstaller_aix_ppc64
veeamdep ALL=(root) /usr/bin/chown root* /opt/veeam/veeaminstaller_aix_ppc64
veeamdep ALL=(root) /opt/veeam/veeaminstaller_aix_ppc64 system-info --format VBR
veeamdep ALL=(root) /opt/veeam/veeaminstaller_aix_ppc64 agent-version
veeamdep ALL=(root) /opt/veeam/veeaminstaller_aix_ppc64 check-package-name --name VeeamAgent
veeamdep ALL=(root) /usr/bin/gunzip /tmp/VeeamAgentAix-*-ppc64.tar.gz
veeamdep ALL=(root) /usr/bin/tar -tf /tmp/VeeamAgentAix-*-ppc64.tar
veeamdep ALL=(root) /usr/bin/sh -c cd /tmp && tar -xf /tmp/VeeamAgentAix-*-ppc64.tar
veeamdep ALL=(root) /opt/veeam/veeaminstaller_aix_ppc64 install-packages --packages /tmp/VeeamAgent-*-ppc64.rpm
veeamdep ALL=(root) /opt/veeam/veeaminstaller_aix_ppc64 update-packages --packages /tmp/VeeamAgent-*-ppc64.rpm
veeamdep ALL=(root) /opt/veeam/veeaminstaller_aix_ppc64 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.