Encrypting the admin password was discussed in Managing Security of Passwords. Encrypting the admin password is strongly encouraged. If you want to change the admin password before encrypting it, use the asadmin set command. An example of using the set command for this purpose is as follows:
asadmin set --user admin server.jms-service.jms-host.default_JMS_host.admin-password=new_pwd
It is also possible to change the admin password using the Admin Console as in the following procedure.
In the Admin Console tree component, expand the Configurations node.
Select the instance to configure:
Expand the Security node.
Expand the Realms node.
Select the admin-realm node.
Click the Manage Users button from the Edit Realm page.
Select the user named admin.
Enter the new password and confirm the password.
Click Save to save or click Close to close without saving.