To use IBM Spectrum® Protect Plus to protect your data,
you must install the required version of the sudo program.
About this task
Set up a dedicated IBM Spectrum Protect Plus agent user with the
required superuser privileges for sudo. This configuration enables agent users to run commands
without a password.
Procedure
-
Create an agent user by issuing the following command:
useradd -m agent
where
agent specifies
the name of the
IBM Spectrum Protect Plus agent user.
-
Set a password for the new user by issuing the following command:
-
To enable superuser privileges for the agent user, set the
!requiretty
setting. At the end of the sudo configuration file, add the following lines:
Defaults:agent !requiretty
agent ALL=(ALL) NOPASSWD:ALL
Alternatively, if your sudoers file is configured to import configurations from another
directory, for example /etc/sudoers.d, you can add the lines in the appropriate
file in that directory.