weblogic10.3.6 reset / modify the console account password

After Deployment Services weblogic Since the handover process documentation is incomplete resulting in a console of a domain account password is lost, documenting it in this console account password reset process:

Note:% DOMAIN_HOME%: refers to the WebLogic Server domain (Domain) directory, for example, I was E: \ Programs \ bea10 \ user_projects \ domains \ mobile_domain

First, reset the account password console

1, in order to ensure safe operation, the first backup% DOMAIN_HOME% / security / DefaultAuthenticatorInit.ldift

2, enter% DOMAIN_HOME% / security directory (windows-shift + right click to open the command line window, linux- run the client terminal here)

  Execute the following command: java -classpath E: /Programs/bea10/wlserver_10.3/server/lib/weblogic.jar weblogic.security.utils.AdminAccount weblogic weblogic1.

  Features Note: finally have a space and a dot "." . Which represents the penultimate weblogic username, password represents the last weblogic1. This command will generate a new file to overwrite% DOMAIN_HOME% / security directory under the original DefaultAuthenticatorInit.ldift.

3, into the AdminServer domain directory, such as:% DOMAIN_HOME% / servers / AdminServer . Wherein the data directory renamed, such as: data_old. Or cut somewhere else.

  Special Note: delete / remove the original data directory operation is a must in.

4, the management server modify boot.properties file path:% DOMAIN_HOME% / servers / AdminServer / security / boot.properties, modify the user name and password (in plaintext, the plaintext is encrypted server first start), to the above command line is consistent user name password (do not write backwards).

  Example: modified:
  username = WebLogic
  password = weblogic1

5, restart the service, you can use the management console to log the user weblogic.

 

Second, modify the account password console

But sometimes we do not remember your password, but rather management / safety requirements need to modify the console password on a regular basis, compared to the normal change your password, weblogic be somewhat tedious, detailed as follows:

1. Open weblogic console, the security field -> myrealm -> Users and Groups, you will see weblogic user, you can delete, you can also click to enter weblogic user details page, click on the password page, enter a new password, save .

  If you go this time to restart the weblogic console, it was unsuccessful;

2, we need to modify% DOMAIN_HOME% / servers / AdminServer / security / boot.properties file, the password changes for the new password changes in the console

  Example: boot.properties revised file:
  username = WebLogic
  password = weblogic123

Note: plain text will be encrypted when you first start the server, do not worry about filling in clear text passwords secure.

3, restart the service, you can use the new password management console.

Guess you like

Origin www.cnblogs.com/wgyhon/p/11221924.html