Change Weblogic Node Manager username and password

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:

  1. Go to directory: domain_directory/config/nodemanager
  2. Open the file: nm_password.properties
  3. Find an entry looking like hashed=zFiKcLvUQ1x9r11u8tjZlRvwBr1\= and remove it
  4. Fill the following properties with real values as simple text:
    1. password=
    2. 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.

Advertisements

About Adrianos Dadis

Building Big Data & Streaming processing solutions in telcos business domain. Interested in distributed systems and enterprise integration.
This entry was posted in Administration, Weblogic and tagged , . Bookmark the permalink.

2 Responses to Change Weblogic Node Manager username and password

  1. Gavin says:

    Hey thanks for the post! Showing the location of nm_password.properties was a lifesaver for me!

  2. diego says:

    helpful post!

Post your thought

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s