How to install an agent
To install the agent, perform the following steps:
1.Log on as the root user.
2.Change to the directory containing the qpm-agent package for your specific platform and run the platform specific installer. For example, on 64-bit RedHat Linux, run:
$ cd agent/linux-x86_64
$ rpm --install qpm-agent-*.rpm
3.Update your PATH to include the Privilege Manager commands. For example, on RHEL, append the following two lines to /etc/profile:
4.Establish a new session for the PATH changes to take effect.
5.Run the following command to join the agent to the policy server:
$ pmjoin <policy_server>
where <policy_server> is the name of the policy server host.
6.To verify that the agent installation has been successful, as an unprivileged user, run a command that is permitted by your Privilege Manager security policy, for example, the default security policy will allow any user to run the id command as the root user:
$ pmrun id
This will return the root user id, not the user’s own id, to show that the command was executed as root.