In case of an agentless approach, the following pre-requisites need to be fulfilled to enable the eG agent to run the VDA commands:
- A sudo package has to be installed on the broker host; to know how to install the sudo package, refer to Section 1.1 above.
After the sudo package is installed, perform the following steps on the broker host:
- Login to the broker host as a root user;
At the command prompt of the host, issue the following command to create a new user:
useradd –d /export/home/<username> –m <username>
useradd –d /export/home/eguser –m eguser
Next, issue the following command to set a password for the above user:
- When prompted to provide the password, specify the same.
Then, proceed to edit the sudo script by issuing the following command:
Add the following entries to the script:
- All the tests run by the eG agent should be configured with the full path to the install directory of the sudo package;