weblogic11g Reset your account

Source: Internet
Author: User

WebLogic Reset User name password

00, the backup domain under the authentication file

Backup%domain_home%/security/defaultauthenticatorinit.ldift #当前的默认密码认证

01. Re-initialize the authentication file

Locate Weblogic.jar #查找文件路径
/data/middleware/wlserver_10.3/server/lib/weblogic.jar

Enter the%domain_home%/security directory
Java-classpath Xxxxx/server/lib/weblogic.jar weblogic.security.utils.AdminAccount < Newadminusername> <NewAdminPassword>.

Java-classpath/data/middleware/wlserver_10.3/server/lib/weblogic.jar Weblogic.security.utils.AdminAccount WebLogic WebLogic.

Attention:
Features note Finally there is a ".", a space and a dot
This command will generate a new Defaultauthenticatorinit.ldift file that overwrites the original.

02. Backup Server/xxx/data Directory

Enter the AdminServer directory of the Management Server,

Example:%domain_home%/servers/adminserver to rename the data directory to use the newly generated password authentication file

03, initialize the security authentication password file boot.properties

%domain_home%/servers/adminserver/security/boot.properties, modify the user name and password (in clear text, the first time you start the server when the plaintext will be encrypted),

The user name password in the above command is consistent

vim boot.propertiesusername  =weblogicpassword=weblogic
04. Restart the service side

You can log in to the admin console using user WebLogic.
After the first boot, the user name password in%domain_home%/servers/adminserver/security/boot.properties is automatically encrypted again

05. Resolve Logon Console Slow
Under ${domain_home}/bin/setdomainenv.sh $* , add the following statement:java_options= "${java_options}- Djava.security.egd=file:/dev/urandom "

weblogic11g Reset your account

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.