忘记BIEE用户名/密码如何重置用户名/密码启动BIEE

浏览: 1702

1、关闭所有BIEE服务

2、<Middleware_Home>\user_projects\domains\bifoundation_domain\bin目录下执行setDomainEnv.cmd脚本

3、到<Middleware_Home>\user_projects\domains\bifoundation_domain\security目录下,把文件DefaultAuthenticatorInit.ldift做备份DefaultAuthenticatorInit_old.ldift

4、cmd中运行命令,"java weblogic.security.utils.AdminAccount weblogic weblogic123 ."生成新的用户名和密码。后面要加空格和.

5、到目录下<Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\security,在文件boot.properties中写入新的用户名和密码。

password=newpassword

username=newusername

6、到<Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\data\下,把文件夹ldap重命名为ldap_old

7、重启BIEE服务

英文原博客

You installed OBIEE 11G and you did not write down the Weblogic Domain admin password, or you’ve had it installed for a while and can’t remember what the password is to get into the WebLogic Admin console to make a change. This post will help you do that so you can get on with your business.

1. Make sure all the services are down

2. change directory to <Middleware_Home>\user_projects\domains\bifoundation_domain\bin

cd <Middleware_Home>\user_projects\domains\bifoundation_domain\bin

3. Source the setDomainEnv.cmd(Windows) / setDomainEnv.sh (Linux) script so we can get all the WebLogic variables set correctly

In windows: setDomainEnv.cmd

In Linux: . setDomainEnv.sh

4. Now change the directory to security directory in your instance.

cd <Middleware_Home>\user_projects\domains\bifoundation_domain\security

5. Move the DefaultAuthenticatorInit.ldift to a backup file

In Windows:

mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit_old.ldift

In Linux:

mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit_old.ldift

6. Run the “java weblogic.security.utils.AdminAccount newuser newpassword .” to generate a newDefaultAuthenticatorInit.ldift with a new user with the assigned password within the security directory

eg: java weblogic.security.utils.AdminAccount weblogic weblogic123 .

Note: replace newuser and newpassword with a user and password of your choosing. Ensure the password is a minimum of 8 characters and contains at least one numeric character. Also, don’t forget the period “.” at the end of the above command, it is required.

7. Change directory to <Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\security

cd <Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\security\

8. Edit the boot.properties file and replace newpassword and newusername with the user and password you defined in step 6. Do this for all the servers in the domain.

password=newpassword

username=newusername

The boot.properties will get encrypted once the admin server starts up

9. Rename or remove directory <Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\data\ldap as it will get recreated once the WebLogic Admin server starts.

e.g:

rename <Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\data\ldap <Middleware_Home>\user_projects\domains\bifoundation_domain\servers\AdminServer\data\ldap_OLD

10. Change directory to <Middleware_Home>\user_projects\domains\bifoundation_domain\bin and start the Weblogic Admin Server

In Windows: startWebLogic.cmd

In Linux:  ./ startWebLogic.sh

11. Once the weblogic server is up, you’ll be able to login to Console with the new weblogic Admin user and password.

推荐 1
本文由 592444087@qq.com 创作,采用 知识共享署名-相同方式共享 3.0 中国大陆许可协议 进行许可。
转载、引用前需联系作者,并署名作者且注明文章出处。
本站文章版权归原作者及原出处所有 。内容为作者个人观点, 并不代表本站赞同其观点和对其真实性负责。本站是一个个人学习交流的平台,并不用于任何商业目的,如果有任何问题,请及时联系我们,我们将根据著作权人的要求,立即更正或者删除有关内容。本站拥有对此声明的最终解释权。

0 个评论

要回复文章请先登录注册