When using SSH public key authentication, the Linux Backup Server does not store the user credentials. You can configure Sudo to allow authorization without any password.
Follow these steps:
For example, if the user name is backupadmin, add the ‘NOPASSWD’ option as shown in the following example:
Example: backupadmin ALL=(ALL) NOPASSWD: /usr/bin/d2d_ea,/user/bin/ln
sudo -v
You have successfully configured Sudo for authorization without password when you are using the SSH public key configuration.
Copyright © 2018. |
|