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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Change redhat root passwordRedhat
- lsnrctl中,SET PASSWORD和CHANGE_PASSWORD命令
- ITaCS Change Password web partWeb
- How to change the APPS db password in Oracle EBSAPPOracle
- Hacked VisualSVN Server by PHP to allow user change passwordServerPHP
- Oracle Password File 理解Oracle
- After mysql installation, we need to change the password of root as belowMySql
- 為oracle listener set passwordOracle
- Oracle Profile and PASSWORD_VERIFY_FUNCTIONOracleFunction
- jQuery :passwordjQuery
- Django中的函式make_password、set_password和check_passwordDjango函式
- How to change the password for win2003 via remote desktopREM
- iOS Password AutoFilliOS
- password檔案
- No need to set a listener password in ORACLE 10GOracle 10g
- oracle備份指令碼_user_passwordOracle指令碼
- Your password has expired. To log in you must change it using a client that supports expired passworclient
- URL password 屬性
- linux lost passwordLinux
- Give root password for maintenanceAINaN
- Oracle Password檔案丟失的恢復Oracle
- Oracle中password file的作用及說明Oracle
- 【PROFILE】PASSWORD_REUSE_TIME和PASSWORD_REUSE_MAX引數在Oracle不同版本中的差別Oracle
- How to change oc4jadmin password for Application Server 10gR3(轉載)APPServer
- docker_sshd without passwordDocker
- REMOTE_LOGIN_PASSWORDREM
- Rsync over SSH with No Password (Crontab)
- How to Reset the MySQL Root PasswordMySql
- Forgot Password for user id SAP*Go
- Ecshop /admin/get_password.php Password Recovery Secrect Code Which Can Predict VulnerabilityPHP
- password_reuse_time與password_reuse_max之間的相互關係
- (zt)Oracle中password file orapwd的作用及說明Oracle
- HTML input password密碼框HTML密碼
- HTML input password 密碼框HTML密碼
- Clear Windows XP login passwordWindows
- remote_listener和listener passwordREM
- Viewing Password File Members (49)View
- Oracle EBS R12 - 怎樣更改SYSADMIN的passwordOracle