You are on page 1of 10

Weblogic Password Change:

Login to weblogic console.

http://dnvdevappfmw17:7001/console

Click on Security Realms from the left pane.

Click on myrealm.
Click on Users and Groups tab.

Click on weblogic user.


Click on Passwords tab.

Enter new password and click on save.

 Please change new weblogic password to Oracle System User if it is existing under myrealm-
>user and groups -> users and save the changes.
Node Manager password Change :

Click on Domain home in left pane.


Click on Security tab.
Click on Advanced.
Update the weblogic password and save.
Stop Node managers.

Login to Linux box and do the following.

Go to the directory /opt/apps/Oracle/Middleware/user_projects/domains/domain_name/security/

Take backup or move DefaultAuthenticatorInit.ldift to DefaultAuthenticatorInit.ldift_bck

Run “java weblogic.security.utils.AdminAccount newuser new password.” to generate a new


DefaultAuthenticatorInit.ldift with a new user with the assigned new password within the security
directory

1) Go to /opt/apps/Oracle/Middleware/user_projects/domains/<domain NAME >/bin


2) Run . ./setDomainEnv.sh
3) Go to /opt/apps/Oracle/Middleware/user_projects/domains/<domain NAME >/Security
4) Run “ java weblogic.security.utils.AdminAccount weblogic newpassword .” (Please don’t forget
to put . in last after newpassword)
5) Go to
/opt/apps/Oracle/Middleware/user_projects/domains/tebzptp_domain/servers/AdminServer/s
ecurity – take the below back up.
mv boot.properties boot.properties_bck and then vi boot.properties.
6) Go to /opt/apps/Oracle/Middleware/user_projects/domains/< domain NAME >
a. mkdir credentials
Now is looks as
“/opt/apps/Oracle/Middleware/user_projects/domains/tebzptp_domain/credentials”
7) Go to console – under security relems – go to Migration and in that export add the above path
and save it.
8) Go to “/opt/apps/Oracle/Middleware/user_projects/domains/<domain name> /server/Admin
server” – we need take the back up of data,temp,cache.
9) Go to console - – under security relems – go to Migration and in that Import the path as
““/opt/apps/Oracle/Middleware/user_projects/domains/tebzptp_domain/credentials and sane
it.
10) Shutdown Admin Server from console.
11) And start the Admin Server.

Below need to do for 2 nodes.

12) Rename nm_data.properties file to different name in <<wl_home>>/common/NodeManager


folder.
13) Need to check nodeManager is running or not(ps -ef |grep nodeManager), if yes,(Kill -9 PID)
14) Go to “cd
/opt/apps/Oracle/Middleware/user_projects/domains/<domainname>/servers/<server2”>

Then take the back up of data , temp , cache.


15) Go to cd /opt/apps/Oracle/Middleware/wlserver_10.3/server/bin/ - Then start the node
MAnager

Start the Node manager.

Other proc:

Hi,

1. Make sure all the services are down

2. change directory to <Middleware_Home>\user_projects\domains\bifoundation_domain\bin

cd <Middleware_Home>\user_projects\domains\bifoundation_domain\bin

3. Source the setDomainEnv.cmd(Windows) / setDomainEnv.sh (Linux) script so we can get all the
WebLogic variables set correctly

In windows: setDomainEnv.cmd

In Linux: . setDomainEnv.sh

4. Now change the directory to security directory in your instance.

cd <Middleware_Home>\user_projects\domains\bifoundation_domain\security

5. Move the DefaultAuthenticatorInit.ldift to a backup file

In Windows:

mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit_old.ldift

In Linux:

mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit_old.ldift

6. Run the “java weblogic.security.utils.AdminAccount newuser newpassword .” to generate a new


DefaultAuthenticatorInit.ldift with a new user with the assigned password within the security directory
eg: java weblogic.security.utils.AdminAccount weblogic weblogic123 .

Note: replace newuser and newpassword with a user and password of your choosing. Ensure the
password is a minimum of 8 characters and contains at least one numeric character. Also, don’t forget the
period “.” at the end of the above command, it is required.

7. Change directory to
<Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\security

cd <Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\security\

8. Edit the boot.properties file and replace newpassword and newusername with the user and password
you defined in step 6. Do this for all the servers in the domain.

password=newpassword

username=newusername

The boot.properties will get encrypted once the admin server starts up

9. Rename or remove directory


<Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\data\ldap as it
will get recreated once the WebLogic Admin server starts.

e.g:

rename
<Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\data\ldap
<Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\data\ldap_OLD

10. Change directory to <Middleware_Home>\user_projects\domains\bifoundation_domain\bin and start


the Weblogic Admin Server

In Windows: startWebLogic.cmd

In Linux: ./ startWebLogic.sh

11. Once the weblogic server is up, you’ll be able to login to Console with the new weblogic Admin user
and password.

Regards,
Kal

You might also like