Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

ProcedureTo change the admin password

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.

  1. In the Admin Console tree component, expand the Configurations node.

  2. Select the instance to configure:

    • To configure a particular instance, expand the instance’s config node. For example, the default instance, server, expand the server-config node.

    • To configure the default settings for all instances, expand the default-config node.

  3. Expand the Security node.

  4. Expand the Realms node.

  5. Select the admin-realm node.

  6. Click the Manage Users button from the Edit Realm page.

  7. Select the user named admin.

  8. Enter the new password and confirm the password.

  9. Click Save to save or click Close to close without saving.