Sun Java System Access Manager 7.1 Postinstallation Guide

Running the amsfopassword Script

The amsfopassorwd script accepts the Message Queue broker password in clear text and returns the encrypted password in a file. You can then use this file as input to the amsfo script (PASSWORDFILE variable).

The amsfopassword script is located in the following directory:

The default AccessManager-base installation directory is /opt on Solaris systems and /opt/sun on Linux systems.

Use the following syntax to run the amsfopassword script.

amsfopassword -f filename | --passwordfile filename 
            -e password | --encrypt password
amsfopassword -h | --help

The following table describes the amsfopassword script arguments.

Table 6–5 amsfopassword Script Arguments



-f filename | --passwordfile filename

Path to the destination file where amsfopassword stores the encrypted password.

-e password | --encrypt password

Clear text password that amsfopassword encrypts.

-h | --help

Display the amsfopassword command usage and then exit.

ProcedureTo Run the amsfopassword Script

  1. Log in as or become superuser (root).

  2. Run the amsfopassword script. For example, on a Solaris system with Access Manager installed in the default directory:

    # cd /opt/SUNWam/bin
    # ./amsfopassword -f /opt/SUNWam/.password -e mypassword
  3. Use the encrypted password in the /opt/SUNWam/.password file as input to the amsfo script (PASSWORDFILE variable)