Disabling global security when the V5.0 administrative server cannot be started

from http://www-1.ibm.com/support/docview.wss?uid=swg21105430

这2天在WAS设置全局安全性,试来试去,试的启动不了了,这下傻眼了。

1、把“活动用户注册表”设置成“本地OS”,
2、同时在“本地 OS 用户注册表 ”中输入的服务器用户标识和密码是对应操作系统的登录用户名和密码的。

如果更改了操作系统的登录密码,那么必须在重启WAS控制台之前把第2步中输入的密码同时进行修改,否则下次启动时会出现安全认证问题。

万一没改就重启了,那就参考IBM的这篇FAQ在不启动控制台的情况下修改security.xml文件。有2种方式:

Technote (FAQ)

Problem
If the administrative server is running, you can use either the administrative console or the wsadmin tool to disable security. However, if you cannot start the administrative server, you must use wsadmin to disable security. This technote explains the procedure.



Solution
Occasionally when WebSphere® global security is enabled and you need to be disable it, you cannot start the administrative Application Server or deployment manager. This situation can occur when the administrative server does not start due to a problem with the security configuration. In this case, you are locked out of the administrative console, and you cannot use it to disable security; therefore, you must use a wsadmin command to disable security.

Solution

You can disable security by modifying the security.xml file or by using wsadmin.

The security.xml file is located under install_root/config/cells/cellname. Always store a copy of the security.xml file in a temporary directory before making any changes.

To disable security in security.xml:

  1. Open the security.xml file and search for the very first occurrence of enabled="true". This is located inside the tag.
  2. Change enabled="true" to enabled="false", then save the file.
  3. You must restart the server for the change to take effect.

    To disable security using a wsadmin command:

    From the $WAS_HOME/bin directory of the Deployment Manager or application server, issue the following command:

    wsadmin -conntype NONE


    The result is a command-line prompt for wsadmin.
  4. Issue the following wsadmin command:

    securityoff

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/69355/viewspace-112678/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/69355/viewspace-112678/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值