Help Center
Choose product document...
Veeam Backup & Replication 9.5
User Guide for Microsoft Hyper-V

Linux Accounts (User Name and Password)

You can create a credentials record for the account that you plan to use to connect to a Linux sever or VM running Linux OS.

To create a new credentials record with a user name and password for a Linux server:

  1. From the main menu, select Manage Credentials.
  2. Click Add > Linux account.
  3. In the Username field, enter a user name for the account that you plan to add.
  4. In the Password field, enter a password for the account that you want to add. To view the entered password, click and hold the eye icon on the right of the field.
  5. In the SSH port field, specify the SSH port over which you want to connect to a Linux server. By default, port 22 is used.
  6. If you specify data for a non-root account that does not have root permissions on a Linux server, you can use the Non-root account section to grant sudo rights to this account.
  1. To provide a non-root user with root account privileges, select the Elevate specified account to root check box.
  2. To add the user account to sudoers file, select the Add account to the sudoers file automatically check box. In the Root password field, enter the password for the root account.

If you do not enable this option, you will have to manually add the user account to the sudoers file.

  1. In the Description field, enter a description for the created credentials record. As there can be a number of similar account names, for example, Root, it is recommended that you provide a meaningful unique description for the credentials record so that you can distinguish it in the list. The description is shown in brackets, following the user name.

Linux Accounts (User Name and Password) Important!

For user accounts that you want to elevate to root, make the following changes in the sudoers file:

  • Enable the NOPASSWD:ALL option and make sure that the user account entry is the last line in the file.
  • Disable the RequireTTY option. For more information, see KB2019.

Otherwise, jobs addressing a Linux server will fail as sudo will request the password.

You can create a separate user account intended for work with Veeam Backup & Replication on a Linux-based VM, grant root privileges to this account and specify settings of this account in the Credentials Manager. It is recommended that you avoid additional commands output for this user (like messages echoed from within ~/.bashrc or command traces before execution) because they may affect Linux VM processing.

Linux Accounts (User Name and Password) 

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation