0% found this document useful (0 votes)
168 views2 pages

Weblogic Password Reset

This document provides steps to change the WebLogic admin password using WLST commands. The steps are: 1. Connect to WLST and the running Admin Server 2. Navigate to the security configuration directory 3. Run the resetUserPassword command to change the password 4. The password is changed without restart and can be used to log into the console

Uploaded by

Ashutosh Nichat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
168 views2 pages

Weblogic Password Reset

This document provides steps to change the WebLogic admin password using WLST commands. The steps are: 1. Connect to WLST and the running Admin Server 2. Navigate to the security configuration directory 3. Run the resetUserPassword command to change the password 4. The password is changed without restart and can be used to log into the console

Uploaded by

Ashutosh Nichat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Document 2636814.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=1cf7akpg21_33&id=...

Copyright (c) 2023, Oracle. All rights reserved. Oracle Confidential.

How to Change WebLogic Admin Password Using WLST Command (Doc ID 2636814.1)

In this Document

Goal
Solution

APPLIES TO:

Oracle WebLogic Server - Version 12.2.1.0.0 and later


Information in this document applies to any platform.

GOAL

The document explains the steps required to change Weblogic admin password using wlst command instead of using Admin Console.

SOLUTION

To implement the solution, please execute the following steps:

1. Connect to wlst using the below steps:

a. Navigate to <ORACLE_HOME>/oracle_common/bin

b. Run the command

./wlst.sh (wlst.cmd)

2. Connect to running Admin Server using the command

connect('wls_admin_user','password_old','t3://host:port')

output:

wls:/offline> connect('wls_admin_user','password_old','t3://host:port')

Connecting to t3://host:port with userid wls_admin_user ...

1 of 2 1/6/2023, 6:36 PM
Document 2636814.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=1cf7akpg21_33&id=...

Successfully connected to Admin Server "AdminServer" that belongs to domain "base_domain".

Warning: An insecure protocol was used to connect to the server.

To ensure on-the-wire security, the SSL port or Admin port should be used instead.

wls:/base_domain/serverConfig/>

4. Once connected navigate to directory "SecurityConfiguration/base_domain/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator" as below

wls:/base_domain/serverConfig/> cd('/SecurityConfiguration/base_domain/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator')

Output:

wls:/base_domain/serverConfig/SecurityConfiguration/base_domain/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator>

5. Run the command "cmo.resetUserPassword" as below to change the password

wls:/base_domain/serverConfig/SecurityConfiguration/base_domain/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator>cmo.resetUserPassword('wls

6. No restart is required and we should be able to login into Weblogic Console using the new password.

Note: Here old password was "password_old" and it is changed to "password_new".


Didn't find what you are looking for?

2 of 2 1/6/2023, 6:36 PM

You might also like