Did you lost or forgot the password of Weblogic Node Manager?
Do you want to change the username of Weblogic Node Manager?
I will describe you a way to change username and password of your Node Manager.
Change username
Edit WLS config.xml and edit the next line:
<node-manager-username>weblogic</node-manager-username>
Change weblogic with a new username.
Change password
Change password with a text editor:
- Go to directory: domain_directory/config/nodemanager
- Open the file: nm_password.properties
- Find an entry looking like hashed=zFiKcLvUQ1x9r11u8tjZlRvwBr1\= and remove it
- Fill the following properties with real values as simple text:
-
- password=
- username=
Change password via Admin Console:
Log in to Admin Console and go to: DomainName -> Security tab-> General subtab -> Advanced Options
Then change the property Credentials with the new password.
Additional steps
When you finish your changes remember to restart AdminServer and NodeManager.
Also, in order to verify your changes you can connect to your Node Manager using the new credentials:
$ cd /opt/fmw/oracle_common/common/bin $ wlst.sh wls:/offline> nmConnect(domainName='test_domain', username='NMUser', password='mpeeeeeee') Connecting to Node Manager ... Successfully Connected to Node Manager. wls:/nm/test_domain> nmDisconnect() Successfully disconnected from Node Manager. wls:/offline> exit()
Regards,
Adrianos.
–
Democracy requires Free Software.
Hey thanks for the post! Showing the location of nm_password.properties was a lifesaver for me!
helpful post!
This worked well on a 12.2 env. This post was very helpful. Thank you!