WebLogic 11g reset User Password

Source: Internet
Author: User

After Weblogic is installed, you do not need to use it for a long time. If you forget the user name or password for accessing the console, follow these steps to reset the user name and password.
Version: WebLogic Server 11g
%: % Domain_home %: indicates the WebLogic Server domain directory.
For example, the root directory of my testing domain domain_home = D:/bea10/user_projects/domains/testcluster_domain
1. Backup % domain_home %/security/defaultauthenticatorinit. ldift to ensure operation security
2. Go to the % domain_home %/security directory and run the following command:
Java-classpath D:/bea10/wlserver_10.0/Server/lib/weblogic. Jar weblogic. Security. utils. adminaccount <newadminusername> <newadminpassword>.
For example:
Open a cmd window and enter D:/BEA/user_projects/domains/base_domain/security
Run Java-classpath D:/BEA/wlserver_10.3/Server/lib/weblogic. Jar weblogic. Security. utils. adminaccount WebLogic weblogic.
Note that there is a ".", a space, and a point at the end.
This command will generate a new defaauthauthenticatorinit. ldift file to overwrite the original one.
3. Enter the adminserver directory of the Management Server, for example, % domain_home %/servers/adminserver. Rename the data directory, for example, data_old. Or back up the data to another place.
4. modify the boot. properties file, for example, % domain_home %/servers/adminserver/security/boot. properties to modify the user name and password (in plain text, the plaintext will be encrypted when the server is started for the first time ).
The username and password are consistent.
For example, after modification:
Username = weblogic
Password = weblogic
5. After restarting the server, you can log on to the management console using weblogic.
After the first startup, the username and password in % domain_home %/servers/adminserver/security/boot. properties are encrypted:
# Tue Feb 09:55:44 CST 2012
Password = {AES} ecaeswlbym9a6zi6h3161acl85bwddouz2 + faamp1s \ =
Username = {AES} yvunv07/yi3ejhduoujwl/s1judamflpm9/ixab1_to \ =

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.