If any of you ever lost the weblogic adminserver password or any other weblogic server (for instance your forms and reports server 11g enterprise manager password), and want to reset it, these are the steps to do it on weblogic 10.3 (11g)
STEP 1 : Set environmental variables
export MWHOME=/u01/app/oracle/product/middleware export DOMAIN_HOME=$MWHOME/user_projects/domains/base_domain exportCLASSPATH=$CLASSPATH:$MWHOME/wlserver_10.3/server/lib/weblogic.jar cd $DOMAIN_HOME/bin . ./setDomainEnv.sh
STEP 2 : Creating a new default authenticator
cd ../security mv DefaultAuthenticatorInit.ldift oldDefaultAuthenticator java weblogic.security.utils.AdminAccount weblogic mynewpassword . # (Replace mynewpassword with your new password and do not forget the space between your password and dot)
STEP 3 : Removing boot.properties file if exists
cd ../servers/AdminServer mv data data_old cd security/ mv boot.properties oldboot.properties
STEP 4 : Restart the ADMIN server with your new password
cd $DOMAIN_HOME ./startWebLogic.sh