ampassword
Change passwords for the AM Administrator.
ampassword { options }
Description
This command allows you to change passwords held in the configuration store, and to encrypt passwords.
Options
The following options are supported.
- -a | --admin [ -o | --old old-password-file -n | --new new-password-file ]
- 
Change the password for amAdminfrom the value stored in old-password-file to the value stored in new-password-file.
- -p | --proxy [ -o | --old old-password-file -n | --new new-password-file ]
- 
Change the password for the proxy administrator from the value stored in old-password-file to the value stored in new-password-file. The proxy administrator password is shown encrypted in the output from ssoadm get-svrcfg-xml.
- -e | --encrypt [ password-file ]
- 
Display the password value provided encrypted with the key generated during AM installation. 
- -h | --help
- 
Display the usage message. 
Examples
The following example encrypts the password contained within a text file.
- 
Create a text file, for example $HOME/.pwd.txt, containing the password string on a single line.
- 
Encrypt the password by using the ampasswordcommand:$ ampassword -e $HOME/.pwd.txt AQICkZs3qy5QUCXir9tebIEEZYGFXI2lCC4B