Original address
Shut down the WebLogic domain, the managed servers, Admin Server and Node Manager.
Set the following environment variables in the command prompt (cmd) to help you navigate easily, in my case for Windows o/ S
Set Mw_home=\oracle\middleware\oracle_home
Set Domain_home=%mw_home%\user_projects\domains\base_domain
NB: If you is on Linux O/S, use export instead of set and $MW _home instead of %mw_home%
Rename the Data folder under the AdminServer of the domain to old_data, this is the path: %doma In_home%\servers\adminserver\data
In the same command prompt so opened earlier, set the environment variable of the domain by calling: %domain_hom E%\bin\setdomainenv.cmd or ./setdomainenv.sh in Linux.
In the same command prompt, change directory to security folder: CD%domain_home%\security
Inside the %domain_home%\security directory, move the file "Defaultauthenticatorinit.ldift" to "%domain_ Home%\security\old\"In the next step, the command that we were going to run would create a new file" Defaultauthentica Torinit.ldift "In the Security folder
Run the following command to reset or change admin password:
Java weblogic.security.utils.AdminAccount WebLogic welcome123.
NB: "WebLogic" is User name and "welcome123" are the new password which we need to set.
Nb:the DOT at the end of the above command represents the current directory. A new "defaultauthenticatorinit.ldift" file is created in the current directory when you execute the command .
Update the "boot.properties" file under the directory %domain_home%\servers\adminserver\security\ With your username and the new password.
Now start the admin server using the new credentials from %domain_home%\bin\startweblogic.cmd in Windows or . /startweblogic.sh in Linux.
Once The adminserver started, login into the Admin console using the username and the new password
Oracle Weblogic Password Reset method