NetWorker:更改管理员或本地用户帐户的密码。
Summary: 本文概述了如何更改任何 NetWorker 用户帐户(包括 NetWorker 管理员帐户)的密码。本文中概述的方法要求知道当前管理员密码。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
默认情况下,NetWorker 身份认证服务密码策略每 90 天强制本地用户帐户的密码到期。NetWorker 身份认证服务管理员可以更改任何本地用户的密码。
提醒:此过程要求当前管理员密码已知且有效。如果 NetWorker 管理员密码未知或已过期,请遵循:NetWorker:如何重置管理员密码
非管理员用户只能更改自己的密码。
使用 authc_mgmt 命令来更改本地数据库用户的密码。此命令必须从提升的提示符运行,例如管理员命令提示符 (Windows) 或使用 sudo/root SSH 提示符 (Linux)。用于更改密码的命令因更改密码的用户而异。
更改管理员用户的密码:
- 要更改管理员帐户的密码,或要更改非管理员用户的密码,请使用
-e update-password选择:
authc_mgmt -u username -p "current_password" -e update-password -D password-new-value="new_password"
其中:
- 用户名 表示要更改其密码的用户或本地管理员帐户的名称。
- Current_password 表示指定用户名的当前密码。
- New_password 表示指定用户名的新密码。
例如,要更改本地管理员帐户的密码,请键入以下命令:
authc_mgmt -u administrator -p "1.Password" -e update-password -D password-new-value="1.Updated2"
提醒:要更改密码而不在命令字符串中键入新密码,请勿在命令字符串中包含
-D password-new-value="new_password" 选项将密码指定为可见文本。命令会提示输入新密码,并且不会显示字符。
更改非管理员用户的密码:
- 要使用管理员帐户更改任何用户的密码,请使用
-eupdate-user选项替换为-D user-name and -D user-password选项:
authc_mgmt -u Administrator -p "Administrator_password" -e update-user -D user-name=username -D user password="new_password"
其中:
- Administrator_password 是默认 NetWorker 管理员帐户的密码。
- 用户名 表示要更改其密码的用户的名称。
- New_password 表示指定用户名的新密码。
例如,要更改名为 bkupadmin 重定向到 Mynewpass1:
authc_mgmt -u administrator -p "1.Password" -e update-user -D username=bkupadmin -D user-password="Mynewpass1"
Additional Information
- NetWorker:如何重置管理员密码
- NetWorker:如何更改 NetWorker 帐户的密码历史记录计数
- NetWorker:如何禁用 NetWorker 帐户的密码过期
- NetWorker:如何更改 NetWorker 用户密码的最小字符要求
有关详细信息,请参阅戴尔支持网站上提供的《NetWorker 安全配置指南 》。
Affected Products
NetWorkerProducts
NetWorkerArticle Properties
Article Number: 000019580
Article Type: How To
Last Modified: 03 Oct 2025
Version: 6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.