The amsfopassorwd script accepts the password for the Message Queue broker user (default is guest) in clear text and returns the encrypted password in a file. You can then use this file as input to the amsfo script by setting the PASSWORDFILE variable in the amsfo.conf configuration file.
To run the amsfopassword script, use the following syntax:
amsfopassword -f|--passwordfile password-file -e|--encrypt clear-text-password
password-file is the path to the destination file where amsfopassword stores the encrypted password.
clear-text-password is the clear text password that amsfopassword encrypts.
To display help, specify -h|--help.
On the server where you ran the setup script, run the amsfopassword script.
For example, on a Solaris system:
# cd /sfo-zip-root/sfo/bin # ./amsfopassword -f /sfo-zip-root/sfo/mqpassword -e clear-text-password
You are not required to run amsfopassword as superuser (root).
Use the encrypted password in the mqpassword file as input to the amsfo script by setting the PASSWORDFILE variable in the amsfo.conf file.
For information about the PASSWORDFILE variable, see Table 8–1.