This article mainly introduces how to modify the WebLogic password in 2, which is directly modified by the console and modified by the character interface at the operating system level.
Note: After the console password is modified, that is, after the supervisor password is modified, the password in the managed boot.properties must also be modified and then restarted.
1. Log in to the console: http://192.168.3.6:8001/console/
The account password entered at this time is weblogic/weblogic123
2. Click Security field-->myrealm--> users and Groups-->weblogic--> password--"Enter new password"
As follows:
1) Enter the safety field
650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M00/93/46/wKioL1kJv3WiEEAPAALfwWFXe9U301.jpg "title=" 1.jpg "alt=" Wkiol1kjv3wieeapaalfwwfxe9u301.jpg "/>
2) Enter WebLogic User Configuration Interface
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M02/93/46/wKioL1kJv4zDAKv9AAMRHAbD3iY357.jpg "title=" 2.jpg "alt=" Wkiol1kjv4zdakv9aamrhabd3iy357.jpg "/>
3) Change Password
650) this.width=650; "src=" https://s2.51cto.com/wyfs02/M00/93/46/wKioL1kJv6uQ7-zRAAIBTQAGhNw664.jpg "title=" 3.jpg "alt=" Wkiol1kjv6uq7-zraaibtqaghnw664.jpg "/>
4) Remember that the managed Boot.properties file also needs to be modified and then restarted by the managed service
Description
Domain_home refers to the WebLogic Server domains (domain) directory
For example, the root directory of my test domain Domain_home=/home/weblogic/domains/mcp_domain
1. To ensure safe operation, backup Domain_home/security/defaultauthenticatorinit.ldift
CP Defaultauthenticatorinit.ldift DefaultAuthenticatorInit.ldift.bak
2. Enter the Domain_home/security directory and execute the following command:
Java-classpath/bea/weblogic/wlserver_10.3/server/lib/weblogic.jar Weblogic.security.utils.AdminAccount < newadminusername> <NewAdminPassword> .
Actual case:
# cd/home/weblogic/domains/mcp_domain/security
# Java-classpath/home/weblogic/weblogic12/wlserver/server/lib/weblogic.jar Weblogic.security.utils.AdminAccount WebLogic weblogictest160.
This command will generate a new Defaultauthenticatorinit.ldift file that overwrites the original.
Features note Finally there is a ".", a space and a dot.
3. Enter the AdminServer directory of the Management Server, such as: Domain_home/servers/adminserver. Rename the data directory, such as: Data_old. Or back up to somewhere else.
MV Data Data.bak
4. Modify the Boot.properties file of the management Server, such as: 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), and the above command
The user name password in the same.
Example: After modification:
Username=weblogic
password=weblogictest160
5. After restarting the Supervisor service, you can log in to the management console using the new WebLogic password.
6, the corresponding managed to change the password restart
This article is from the "Breeze Month Blog" blog, please be sure to keep this source http://watchmen.blog.51cto.com/6091957/1921733
weblogic-Modifying the console login password