Oracle GlassFish Server 3.1 Section 1: asadmin Utility Subcommands
create-connector-connection-pool(1)
create-connector-security-map(1)
create-connector-work-security-map(1)
create-jdbc-connection-pool(1)
create-message-security-provider(1)
create-resource-adapter-config(1)
delete-connector-connection-pool(1)
delete-connector-security-map(1)
delete-connector-work-security-map(1)
delete-jdbc-connection-pool(1)
delete-message-security-provider(1)
delete-resource-adapter-config(1)
disable-http-lb-application(1)
disable-secure-admin-internal-user(1)
disable-secure-admin-principal(1)
enable-secure-admin-internal-user(1)
enable-secure-admin-principal(1)
list-connector-connection-pools(1)
list-connector-security-maps(1)
list-connector-work-security-maps(1)
list-message-security-providers(1)
list-resource-adapter-configs(1)
list-secure-admin-internal-users(1)
list-secure-admin-principals(1)
list-supported-cipher-suites(1)
unfreeze-transaction-service(1)
update-admin-server-coordinates(1)
update-admin-server-local-coordinates(1)
update-connector-security-map(1)
update-connector-work-security-map(1)
Oracle GlassFish Server 3.1 Section 1M: Utility Commands
Oracle GlassFish Server 3.1 Section 5ASC: GlassFish Server Concepts
- changes the master password
change-master-password [--help] [--nodedir node-dir] [--domaindir domain-dir ] [--savemasterpassword={false|true}] [domain-name|node-name]
The change-master-password subcommand is used to modify the master password. The change-master-password subcommand is interactive in that the user is prompted for the old master password, as well as the new master password. This subcommand will not work unless the server is stopped. In a distributed environment, this command must run on each machine in the domain.
Displays the help text for the subcommand.
The name of the directory containing the node instance for which the password will be changed. If this option is omitted, the change is applied to the entire domain.
The name of the domain directory used for this operation. By default, the --domaindir option is $AS_DEF_DOMAINS_PATH, which is an environment variable defined in the file asenv.bat or asenv.conf.
This option indicates whether the master password should be written to the file system. This is necessary so that the start-domain(1) command can start the server without having to prompt the user.
The default is false.
Caution - Saving the master password on disk is extremely insecure and should be avoided. |
Note - If the --savemasterpassword option is not set, the master password file, if it exists, will be deleted.
This name of the domain or node for which the password will be changed. If there is only a single domain, this is optional.
Example 1 Changing the Master Password
This example shows how to changed the master password for the domain44ps domain.
asadmin>change-master-password domain44ps Please enter the new master password> Please enter the new master password again> Master password changed for domain44ps
subcommand executed successfully
error in executing the subcommand
delete-password-alias(1), list-password-aliases(1), start-domain(1), update-password-alias(1)