Granting Permissions to Users in Command Line Interface

When you install Veeam Agent, the product program files are placed to the folders on the system volume. For full access to Veeam Agent files, super user (root) privileges are required. Rights to execute product files and run commands are also granted to users that belong to the veeam group.

The veeam group is automatically created by Veeam Agent at the process of the product installation. To let regular users work with Veeam Agent without the need to gain root privileges, you can add the necessary users to this group. Users in the veeam group will be able to execute Veeam Agent commands and perform backup and restore tasks under regular user account.

To add a user to the veeam group, use the following command:

dseditgroup -o edit -a <username> -t user veeam

where:

<username> — name of the account to which you want to grant access to Veeam Agent.

For example:

user@wrk001 ~ % dseditgroup -o edit -a user01 veeam

 

 

IMPORTANT

Consider the following:

  • To add a user to the veeam group, you must have super user (root) privileges.
  • After the user is added to the veeam group, they must re-log in to the system to apply the new permissions.
  • Add only trusted users to the veeam group.

To check whether the user who is currently logged in to the macOS is added to the veeam group, you can use the following command:

groups

For example:

user@wrk001 ~ % groups
staff adm everyone dip plugdev lpadmin veeam

 

 

Page updated 3/24/2025

Page content applies to build 2.3.1.1009