Thursday, June 9

SOP FOR RESET ADMIN USERNAME/PASSWORD ( WLS 9.X )

STEP 1:
Ensure that your have shutdown all servers -- Admin

STEP 2:
From the command line, run the script setDomainEnv.sh, located in
$DOMAIN_HOME/bin/setDomainEnv.sh

STEP 3:
Cd to $DOMAIN_HOME/security
Rename the file 'DefaultAuthenticatorInit.ldift'

STEP 4:
Create a new initialization file for the default authenticator in the same directory as above
($DOMAIN_HOME/security) by running command:
java –cp
/WebLogic/utils/bea922/weblogic92/server/lib/weblogic.jar:$CLASSPATH
weblogic.security.utils.AdminAccount .

This should produce a new 'DefaultAuthenticatorInit.ldift'
(Can be verified with the timestamp of that file)

STEP 5:
Rename the files 'DefaultAuthenticatormyrealmInit.initialized' and 'boot.properties'.

$DOMAIN_HOME/servers/AdminServer/data/ldap/DefaultAuthenticatormyrealmInit.initialized

$DOMAIN_HOME/servers/AdminServer/security/boot.properties

STEP 6:
Start the Admin server

At start time, use the newUser and newPassword values when prompted for user and
Password.

3 comments:

  1. it worrkksss thank you man -from chile

    ReplyDelete
  2. One tip , for step 4 you put the username and password as entrance parameters

    weblogic.security.utils.AdminAccount .

    And you must put the end dot

    ReplyDelete
    Replies
    1. The . indicates the current location of the path.

      Delete