Modification method WBELOGIC console password forgotten

1, the main directory domain defined
export DOMAIN_HOME = / weblogic / bea / user_projects / domains / lsdomain

2, enter the password recording directory
cd $ DOMAIN_HOME / security

3, the old password file backup
mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit.ldift.bak

4, generates a new password file, note that there is finally here. Sign indicates that the current path (ie .ldift directory the file is located)
the Java -classpath /weblogic/bea/wlserver_10.3/server/lib/weblogic.jar the weblogic.security. utils.AdminAccount ls wlgc123 #.

5, the directory user password as there does not move after the login prompt the user name and password will still be wrong not start
mv $ DOMAIN_HOME / servers / lsAdm / data $ DOMAIN_HOME / servers / lsAdm / data_bak

6, the user name and password to read the file when the backup starts
mv $ DOMAIN_HOME / servers / lsAdm / security / boot.properties $ DOMAIN_HOME / servers / lsAdm / security / boot.properties.bak

7, a new user name and password for the file to start reading (Note to modify their own user name and password)
CAT $ DOMAIN_HOME / Servers / lsAdm / Security / the boot.properties
username = LS
password = wlgc123 #

8, go to the bin directory
cd $ DOMAIN_HOME / bin

9, start the weblogic console
./startWebLogic.sh

Guess you like

Origin blog.51cto.com/ssunandmoon/2429926