Technical data

B WebLogic Server Command-Line Interface Reference
B-4 Administration Guide
Note: The exit code for all commands is 1 if the Administration client cannot connect
to the server.
Summary of User Credentials Arguments
Table 21-1 describes the alternatives that the weblogic.Admin utility provides for
passing usernames and passwords to a server instance.
-password password The password that is associated with the username.
If you specify
-username username but do not specify the -password
argument,
weblogic.Admin prompts you for a password.
If WL_HOME\server\bin is specified in the PATH environment variable,
weblogic.Admin uses a set of WebLogic Server libraries that prevent the
password from being echoed to standard out. For information on setting en-
vironment variables, see “Setting the Classpath Option” on page 2-10.
-userconfigfile con-
fig-file
Specifies the name and location of a user-configuration file, which contains
an encrypted username and password. The encrypted username must have
permission to invoke the command you specify.
If you do not specify
-userconfigfile config-file, weblog-
ic.Admin
searches for a user-configuration file at the default path name.
(See “STOREUSERCONFIG” on page -18.)
-userkeyfile admin-key Specifies the name and location of the key file that is associated with the us-
er-configuration file you specify.
When you create a user-configuration file, the
STOREUSERCONFIG com-
mand uses a key file to encrypt the username and password. Only the key file
that encrypts a user-configuration file can decrypt the username and pass-
word.
If you do not specify
-userkeyfile admin-key, weblogic.Admin
searches for a key file at the default path name. (See “STOREUSERCON-
FIG” on page -18.)
Table 21-1 Conection and User Credentials Arguments
Argument Definition