Sun Java System Access Manager Policy Agent 2.2 Guide for Sun Java System Web Server 7.0

ProcedureTo Generate a State File for a Web Agent Uninstallation

To generate a state file for uninstallation of a web agent, perform the following:

  1. Change to the following directory:


    PolicyAgent-base/bin

    This directory contains the agentadmin program, which is used for uninstalling a web agent and for performing other tasks. For more information on the agentadmin program, see Introduction of the agentadmin Program in Web Agents for Policy Agent 2.2.

  2. Issue the following command:


    ./agentadmin --uninstall --saveResponse filename
    
    -saveResponse

    An option that saves all of your responses to uninstallation prompts in a state file.

    filename

    Represents the name that you choose for the state file.

  3. Perform the uninstallation as explained in Chapter 8, Uninstalling Policy Agent 2.2 for Sun Java System Web Server 7.0.

    Your answers to the prompts are recorded in the state file. When uninstallation is complete, the state file is created in the same directory where the uninstallation program is located.


    Note –

    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 writeaccess to the user root.