windows 如何重置/更改 DB2 Content Manager 8.4.1 的过期密码

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3680613/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 15:14:00  来源:igfitidea点击:

How to reset/change expired password for DB2 Content Manager 8.4.1

windowsdb2

提问by elcool

I had installed IBM DB2 Content Manager 8.4.1 months ago and now I wanted to access it to continue some more work.

我在 8.4.1 个月前安装了 IBM DB2 Content Manager,现在我想访问它以继续做更多的工作。

But when I try to log in using System Administration Client, it tells me the password is expired. The error is:

但是当我尝试使用 System Administration Client 登录时,它告诉我密码已过期。错误是:

DGL0394A: Error in ::DriverManager.getConnection;[jcc][t4][2012][11248][3.50.152]
Connection authorization failure occurred. Reason: Password expired.
ERRORCODE=-4214,SQLSTATE=28000 (STATE) : ; 
[SERVER = icmnsldb, USERID = icmadmin, SQL RC = -4214, SQL STATE = 28000]

I've tried looking thru the config files, using the java update command line.. and I can't find a way to change or reset the password. I can't use System Administration Client to change the passwords, since it won't log me in to begin with. Any other method I can use to reset/change the password for a DB2 CM user?

我尝试使用 java update 命令行查看配置文件..但我找不到更改或重置密码的方法。我无法使用 System Administration Client 更改密码,因为它一开始不会让我登录。我可以使用其他任何方法来重置/更改 DB2 CM 用户的密码吗?

采纳答案by Tahir Malik

Just use the Client for Windows on a desktop machine and not the eClient to login. It will directly notify about a expired password and you can set the new password immediately.

只需在台式机上使用 Windows 客户端而不是 eClient 登录。它会直接通知密码过期,您可以立即设置新密码。

回答by Ian Bjorhovde

DB2 uses the operating system to authenticate users, so you need to use the OS tools to reset the icmadmin user's password. Your post is tagged as Windows, so look for the icmadmin user in either the local machine or in the domain if your server belongs to a domain.

DB2 使用操作系统对用户进行身份验证,因此您需要使用操作系统工具来重置 icmadmin 用户的密码。您的帖子被标记为 Windows,因此如果您的服务器属于域,请在本地计算机或域中查找 icmadmin 用户。

回答by Nitin

I faced the same issue. I logged in as root and chaged the password for db2 user by passwd . and changed in the WAS console. It worked.

我遇到了同样的问题。我以 root 身份登录并通过 passwd 更改了 db2 用户的密码。并在 WAS 控制台中更改。有效。

回答by Chethan HJ

In Windows, click on start > Control Panel > User Accounts > User Accounts > Manage User Accounts.

在 Windows 中,单击开始 > 控制面板 > 用户帐户 > 用户帐户 > 管理用户帐户。

Here, select the DB2 username and click on Reset Password.

在这里,选择 DB2 用户名并单击重置密码。