Use the update-password-alias subcommand in remote mode to change the password for an existing password alias. The update-password-alias subcommand takes both a secure interactive form, in which the user is prompted for all information, and a more script-friendly form, in which the password is propagated on the command line.
Ensure that the server is running.
Remote subcommands require a running server.
Update an alias by using the update-password-alias(1) subcommand.
Type the password when prompted.
This example updates the password for the jmspassword-alias alias:
asadmin> update-password-allias /home/password.txt jsmpassword-alias |
You are prompted to type the new password for the alias:
Please enter the alias password>new-secret-password Please enter the alias password again>new-secret-password Command update-password-alias executed successfully |
You can also view the full syntax and options of the subcommand by typing asadmin help update-password-alias at the command line.