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 Authentication Service 系統管理員可以變更任何本機使用者的密碼。
 

注意:此程序需要已知且有效的目前管理員密碼。如果 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

Affected Products

NetWorker

Products

NetWorker
Article 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.