When you install Veeam Agent for Linux, the product program files are placed to the folders on the system volume. For full access to Veeam Agent for Linux 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 for Linux at the process of the product installation. To let regular users work with Veeam Agent for Linux 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 for Linux commands and perform backup and restore tasks under regular user account.
To add a user to the veeam group, you can use the following command:
usermod -a -G veeam <username>
<username> — user name of the account to which you want to grant access to Veeam Agent for Linux.
root@srv01:~# usermod -a -G veeam user
Mind the following:
To check whether the user who is currently logged in to the Linux OS is added to the veeam group, you can use the following command: