Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 16 Oracle Analytics Lounge
- 216 Oracle Analytics News
- 43 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 79 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
what is the right way to reset weblogic admin password via backend

We have a Kubernetes cluster system, also deployed with BIP/OAS.
what is the right way to reset weblogic admin password via backend?
tried lot of support documents, but one or the other problem with the steps.
--
these steps, are resetting password, but if we restart then logs are showing invalid credentials error.
. $DOMAIN_HOME/bin/setDomainEnv.sh java weblogic.security.utils.AdminAccount <user> <password> $DOMAIN_HOME/security ${ORACLE_HOME}/oracle_common/common/bin/wlst.sh connect('<user>','<password>','t3://bip:9500') cd('/SecurityConfiguration/bi/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator') cmo.resetUserPassword('<user>','<password>') disconnect() exit() ${ORACLE_HOME}/oracle_common/common/bin/wlst.sh readDomain('/u01/oracle/user_projects/domains/bi') cd("/SecurityConfiguration/bi") cmo.setNodeManagerPasswordEncrypted('<password>') updateDomain() nmConnect('<user>','<password>','bip','9506','bi','/u01/oracle/user_projects/domains/bi') storeUserConfig(userConfigFile='/u01/oracle/user_projects/domains/bi/nodemanager/nmUserConfig.properties',userKeyFile='/u01/oracle/user_projects/domains/bi/nodemanager/nmUserKey.properties',nm='true') nmDisconnect() exit() echo "username=<user> password=<password>" > $DOMAIN_HOME/servers/AdminServer/security/boot.properties cp $DOMAIN_HOME/servers/AdminServer/security/boot.properties $DOMAIN_HOME/servers/bi_server1/security/ mkdir -p /u01/oracle/user_projects/domains/bi/servers/AdminServer/data/nodemanager cp $DOMAIN_HOME/servers/AdminServer/security/boot.properties $DOMAIN_HOME/servers/AdminServer/data/nodemanager/boot.properties mkdir -p /u01/oracle/user_projects/domains/bi/servers/bi_server1/data/nodemanager cp $DOMAIN_HOME/servers/AdminServer/security/boot.properties $DOMAIN_HOME/servers/bi_server1/data/nodemanager/boot.properties export ADMIN_USER="<user>" export ADMIN_PWD="<password>" sed -i -E \ -e "s|(password=)(.*)$|\1${ADMIN_PWD}|g" \ -e "s|(username=)(.*)$|\1${ADMIN_USER}|g" \ $DOMAIN_HOME/servers/AdminServer/security/adminServerUserConfig.properties rm -rf $DOMAIN_HOME/servers/AdminServer/data/ldap/* rm -rf $DOMAIN_HOME/servers/bi_server1/data/ldap/* rm -f $DOMAIN_HOME/edit.lok
-------
after these steps, password change working fine on weblogic console.
and also weblogic console working even after restart.
But only I am concerned why logs are throwing invalid password errors..
(AdminServer-diagnostic.log) [2023-12-18T09:19:05.352+00:00] [AdminServer] [ERROR] [] [oracle.wsm.resources.policymanager] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kteThre ad: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <54f7728d-7deb-4125-a3a4-edb0ca434478-0000017f> <1702891025261> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > ied user failed to log in. The issue could be because of an incorrect password in boot.properties file or a corrupted boot.properties file. javax.security.auth.login.FailedLoginException : [Security:090302]Authentication Failed: User specified user denied"., Failed due to : [Security:090938]Authentication failure: The specified user failed to log in. The issue could be b ecause of an incorrect password in boot.properties file or a corrupted boot.properties file. javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User specified user denied.>
bi.log) #### <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tu ning)'> <> <> <54f7728d-7deb-4125-a3a4-edb0ca434478-00000185> <1702891085304> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > o get the Action Executor due to "javax.security.auth.login.FailedLoginException: [Security:090938]Authentication failure: The specified user failed to log in. The issue could be because of an incorrect password in boot.properties file or a corrupted boot.properties file. javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User specif ied user denied"., Failed due to : [Security:090938]Authentication failure: The specified user failed to log in. The issue could be because of an incorrect password in boot.properties fi le or a corrupted boot.properties file. javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User specified user denied.>
Answers
-
after these steps, password change working fine on weblogic console.
and also weblogic console working even after restart.
But only I am concerned why logs are throwing invalid password errors..
(AdminServer-diagnostic.log) [2023-12-18T09:19:05.352+00:00] [AdminServer] [ERROR] [] [oracle.wsm.resources.policymanager] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kteThre ad: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <54f7728d-7deb-4125-a3a4-edb0ca434478-0000017f> <1702891025261> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > ied user failed to log in. The issue could be because of an incorrect password in boot.properties file or a corrupted boot.properties file. javax.security.auth.login.FailedLoginException : [Security:090302]Authentication Failed: User specified user denied"., Failed due to : [Security:090938]Authentication failure: The specified user failed to log in. The issue could be b ecause of an incorrect password in boot.properties file or a corrupted boot.properties file. javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User specified user denied.>
bi.log) #### <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tu ning)'> <> <> <54f7728d-7deb-4125-a3a4-edb0ca434478-00000185> <1702891085304> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > o get the Action Executor due to "javax.security.auth.login.FailedLoginException: [Security:090938]Authentication failure: The specified user failed to log in. The issue could be because of an incorrect password in boot.properties file or a corrupted boot.properties file. javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User specif ied user denied"., Failed due to : [Security:090938]Authentication failure: The specified user failed to log in. The issue could be because of an incorrect password in boot.properties fi le or a corrupted boot.properties file. javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User specified user denied.>
0 -
after these steps, password change working fine on weblogic console.
and also weblogic console working even after restart.
But only I am concerned why logs are throwing invalid password errors..
(AdminServer-diagnostic.log) [2023-12-18T09:19:05.352+00:00] [AdminServer] [ERROR] [] [oracle.wsm.resources.policymanager] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kteThre ad: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <54f7728d-7deb-4125-a3a4-edb0ca434478-0000017f> <1702891025261> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > ied user failed to log in. The issue could be because of an incorrect password in boot.properties file or a corrupted boot.properties file. javax.security.auth.login.FailedLoginException : [Security:090302]Authentication Failed: User specified user denied"., Failed due to : [Security:090938]Authentication failure: The specified user failed to log in. The issue could be b ecause of an incorrect password in boot.properties file or a corrupted boot.properties file. javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User specified user denied.>
bi.log) #### <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tu ning)'> <> <> <54f7728d-7deb-4125-a3a4-edb0ca434478-00000185> <1702891085304> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > o get the Action Executor due to "javax.security.auth.login.FailedLoginException: [Security:090938]Authentication failure: The specified user failed to log in. The issue could be because of an incorrect password in boot.properties file or a corrupted boot.properties file. javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User specif ied user denied"., Failed due to : [Security:090938]Authentication failure: The specified user failed to log in. The issue could be because of an incorrect password in boot.properties fi le or a corrupted boot.properties file. javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User specified user denied.>
0