Oracle WebLogic Default Password & Change Password
Weblogic 9: the default admin username/password is: weblogic/weblogic
Weblogic 10: the default admin username/password is: weblogic/weblogic
Weblogic 11: the default admin username/password is: weblogic/welcome1 (try “weblogic1″ if not working)
------------
Steps to recover lost "weblogic" password:
1. Shutdown your weblogic instance if its running, using the command:
$ cd MW_HOME/user_projects/domains/base_domain/bin
$ ./stopWebLogic.sh
2. Set your environment variables using setDomainEnv.sh:
$ cd MW_HOME/user_projects/domains/base_domain/bin
$ . ./setDomainEnv.sh
[@more@]
3. It is important to change your home directory to this "security" folder in order to perform the change password command.
Run the following commands:
$ cd MW_HOME/user_projects/domains/base_domain/security
$ java weblogic.security.utils.AdminAccount adminuser1 welcome1 .
[ Note1: Don't forget the period "." at the end of the above command, it is required. ]
[ Note2: After running the above command, the file "DefaultAuthenticatorInit.ldift" gets updated. ]
4. Delete the following file from "ldap" folder:
$ cd MW_HOME/user_projects/domains/base_domain/servers/AdminServer/data/ldap
$ rm DefaultAuthenticatormyrealmInit.initialized
[ Note3: A new file will be automatically created when weblogic is started. ]
5. Startup weblogic server using the newly created "adminuser1" account.
$ cd /scratch/aime1/work1/mwps1/user_projects/domains/base_domain/bin
$ ./startWebLogic.sh
Enter username to boot WebLogic server: adminuser1
Enter password to boot WebLogic server:
6. Logon to /console with the new administrative user - "adminuser1" (and not "weblogic")
7. Under 'Security Realms', you can see two admin users 'adminuser1' and 'weblogic', go ahead and change the password for user 'weblogic'.
-------
Enabling the Administration Console
By default, the Administration Console is enabled. If you disable it, you can re-enable it using the WebLogic Scripting Tool (WLST). Start the Administration Server, then invoke WLST and use the following commands:
Example 1 Using WLST to Re-enable the Console
connect("username","password")
edit()
startEdit()
cmo.setConsoleEnabled(true)
save()
activate()
The following attribute(s) have been changed on MBeans which require server re-start.
MBean Changed : com.bea:Name=mydomain,Type=Domain Attributes changed :
ConsoleEnabled
Activation completed
disconnect()
exit()
For information about using WLST, see .
Weblogic 10: the default admin username/password is: weblogic/weblogic
Weblogic 11: the default admin username/password is: weblogic/welcome1 (try “weblogic1″ if not working)
------------
Steps to recover lost "weblogic" password:
1. Shutdown your weblogic instance if its running, using the command:
$ cd MW_HOME/user_projects/domains/base_domain/bin
$ ./stopWebLogic.sh
2. Set your environment variables using setDomainEnv.sh:
$ cd MW_HOME/user_projects/domains/base_domain/bin
$ . ./setDomainEnv.sh
[@more@]
3. It is important to change your home directory to this "security" folder in order to perform the change password command.
Run the following commands:
$ cd MW_HOME/user_projects/domains/base_domain/security
$ java weblogic.security.utils.AdminAccount adminuser1 welcome1 .
[ Note1: Don't forget the period "." at the end of the above command, it is required. ]
[ Note2: After running the above command, the file "DefaultAuthenticatorInit.ldift" gets updated. ]
4. Delete the following file from "ldap" folder:
$ cd MW_HOME/user_projects/domains/base_domain/servers/AdminServer/data/ldap
$ rm DefaultAuthenticatormyrealmInit.initialized
[ Note3: A new file will be automatically created when weblogic is started. ]
5. Startup weblogic server using the newly created "adminuser1" account.
$ cd /scratch/aime1/work1/mwps1/user_projects/domains/base_domain/bin
$ ./startWebLogic.sh
Enter username to boot WebLogic server: adminuser1
Enter password to boot WebLogic server:
6. Logon to /console with the new administrative user - "adminuser1" (and not "weblogic")
7. Under 'Security Realms', you can see two admin users 'adminuser1' and 'weblogic', go ahead and change the password for user 'weblogic'.
-------
Enabling the Administration Console
By default, the Administration Console is enabled. If you disable it, you can re-enable it using the WebLogic Scripting Tool (WLST). Start the Administration Server, then invoke WLST and use the following commands:
Example 1 Using WLST to Re-enable the Console
connect("username","password")
edit()
startEdit()
cmo.setConsoleEnabled(true)
save()
activate()
The following attribute(s) have been changed on MBeans which require server re-start.
MBean Changed : com.bea:Name=mydomain,Type=Domain Attributes changed :
ConsoleEnabled
Activation completed
disconnect()
exit()
For information about using WLST, see .
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/678020/viewspace-1042781/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- After mysql installation, we need to change the password of root as belowMySql
- Django中的函式make_password、set_password和check_passwordDjango函式
- no-wwwtl622com17008768000-password never prompt for password
- iOS Password AutoFilliOS
- Password Storage - UserDetailsAI
- 【PROFILE】PASSWORD_REUSE_TIME和PASSWORD_REUSE_MAX引數在Oracle不同版本中的差別Oracle
- URL password 屬性
- scp without interative password
- php password_hash password_verify 加密驗證不需要saltPHP加密
- docker_sshd without passwordDocker
- oracle12.2 adg ORA-46952: standby database format mismatch for password fileOracleDatabaseORM
- HTML input password 密碼框HTML密碼
- HTML input password密碼框HTML密碼
- ORA-28001:the password has expired
- password_hash加密例項加密
- 1Password 實用快捷鍵
- 域滲透——Local Administrator Password Solution
- FreeBSD on Raspberry PI root, freebsd account password
- go-password:生成類似1Password或LastPass高熵隨機密碼的Go庫GoAST熵隨機密碼
- “ORA-28007: the password cannot be reused”解決
- 漢化PHP的Password函式庫PHP函式
- 【密碼檔案】Oracle 18c orapwd 命令 OPW-00029: Password complexity failed密碼OracleAI
- mysql 1045, "Access denied for user 'root'@'localhost' (using password: NO)"MySqllocalhost
- 【ORA-28001】ORA-28001: the password has expired
- Oracle default usersOracle
- mac版1Password快捷方式彙總!Mac
- python urllib socks5 auth username password 設定Python
- 記一次 打包報錯:Keystore was tampered with, or password was incorrect
- MySQL8.0的caching_sha2_password問題MySql
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:YES)Errorlocalhost
- Password is required when adding a database to AG group if the database has a master keyUIDatabaseAST
- phpmyadmin mysql8 加密方式 caching_sha2_passwordPHPMySql加密
- 消除Warning: Using a password on the command line interface can be insecure的提示
- 504.3 Password and Access Attacks 密碼和訪問攻擊密碼
- 關於Support for password authentication 報錯的解決方案
- MySQL authentication plugin 'caching_sha2_password' cannot be loaded 問題MySqlPlugin
- 啟動報錯:Access denied for user 'root'@'localhost' (using password:YES)localhost
- 報錯”ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)”Errorlocalhost
- sqlplus / as sysdba報錯ORA-01017: invalid username/password; logon deniedSQLGo