This local command is used to modify the master password. Change-master-password is interactive in that the user is prompted for the old master password, as well as the new master password. This command will not work unless the server is stopped. In a distributed Enterprise Edition environment, this command must run on each machine in the domain, with the Node Agent stopped.
This option specifies the directory used for this operation. By default, the domaindir is $AS_DEF_DOMAINS_PATH, which is an environment variable defined in asenv.bat/conf. Both the domaindir and the agentdir options should not be passed together; use one or the other.
Like a DAS, each Node Agent resides in a top level directory named <agentdir>/<nodeagent_name>. If the agentdir is not specified, then $AS_DEF_DOMAINS_PATH/../nodeagents is used. Both the domaindir and the agentdir options should not be passed together; use one or the other. This option is available only in the Sun Java System Application Server Standard and Enterprise Edition.
This option indicates whether the master password should be written to the file system. This is necessary so that start-domain can start the server without having to prompt the user. WARNING: saving the master password on disk is extremely dangerous and should be avoided.
NOTE: if savemasterpassword is not set, the master password file, if it exists, will be deleted.
This is the domain name whose password is to be changed. If there is only a single domain, this is optional.
This is the name of the node agent whose password is to be changed. This option is available only in the Sun Java System Application Server Standard and Enterprise Edition.
Remember to use the asadmin login command before you use the change-master-password command.
asadmin>change-master-password domain44ps Please enter the new master password> Please enter the new master password again> Master password changed for domain44ps