
com.sun.enterprise.security.cli.change-admin-password.1 Maven / Gradle / Ivy
Administration Commands; change-admin-password(1)
NAME
change-admin-password - changes the administrator password
SYNOPSIS
change-admin-password --user admin_user
[--terse={true|false}] [ --echo ={true|false}]
[ --host hostname] [--port port-no]
[--secure | -s ]
DESCRIPTION
The change-admin-password command modifies the administrator
password. The change-admin-password command is interactive
because the command prompts the user for the old administra-
tor password, for the new administrator password, and for
confirmation of the new administrator password.
This command is supported in remote mode only.
OPTIONS
-u --user
The user name of the authorized administrative user of
the domain administration server.
-t --terse
Indicates that any output data must be very concise,
typically avoiding human-friendly sentences and favoring
well-formatted data for consumption by a script. Default
is false.
-e --echo
If set to true, the command-line statement is echoed on
the standard output. Default is false.
-H --host
The machine name where the domain administration server
is running. The default value is localhost.
-p --port
The port number of the domain administration server
listening for administration requests.
Java EE 5 Last change: 15 Sep 2008 1
Administration Commands; change-admin-password(1)
-s --secure
If set to true, uses SSL/TLS to communicate with the
domain administration server.
The default is false.
EXAMPLES
Example 1 Using change-admin-password
asadmin> change-admin-password --user admin
Please enter the old admin password>
Please enter the new admin password>
Please enter the new admin password again>
Command change-admin-password executed successfully.
EXIT STATUS
0 command executed successfully
1 error in executing the command
SEE ALSO
delete-password-alias(1), list-password-aliases(1), update-
password-alias(1)
Java EE 5 Last change: 15 Sep 2008 2
© 2015 - 2025 Weber Informatics LLC | Privacy Policy