To generate a state file for a silent web agent installation , perform the following:
Change to the following directory:
PolicyAgent-base/bin |
This directory contains the agentadmin program, which is used for installing a web agent and for performing other tasks. For more information on the agentadmin program, see Introduction of the agentadmin Program for Web Agents.
Issue the following command:
./agentadmin --install --saveResponse filename |
An option that saves all of your responses to installation prompts in a state file.
Represents the name that you choose for the state file.
Perform the installation as described in Chapter 4, Installing the Apache HTTP Server 2.2 Policy Agent
Your answers to the prompts are recorded in the state file. When the installation is complete, the state file is created in the same directory where the installation program is located.
When generated, a state file will have read permissions for all users. However, because the state file contains clear text passwords, it is recommended that you change the file permissions to restrict read and write access to the user root.