您可以重設遺失或忘記的 VMware Aria Automation root 密碼。
在此程序中,您可以使用主機 vCenter 應用裝置上的命令列視窗來重設組織的 VMware Aria Automation 根密碼。
必要條件
此程序適用於 VMware Aria Automation 管理員,並且需要存取主機 vCenter 應用裝置所需的認證。
程序
- 使用啟動和停止 VMware Aria Automation 中所述的程序,關閉和啟動 VMware Aria Automation。
- 當 Photon 作業系統命令列視窗出現時,請輸入
e 並按 Enter 鍵,以開啟 GNU GRUB 開機功能表編輯器。
- 在 GNU GRUB 編輯器中,在以
linux "/" $photon_linux root=rootpartition 開頭的一行的結尾處輸入 rw init=/bin/bash,如下所示:
- 按一下 F10 鍵以推送變更,然後重新啟動 VMware Aria Automation。
- 等待 VMware Aria Automation 重新啟動。
- 在
root [/]# 提示字元中,輸入 passwd 並按 Enter 鍵。
- 在
New password: 提示字元中,輸入新密碼並按 Enter 鍵。
- 在
Retype new password: 提示字元中,重新輸入新密碼並按 Enter 鍵。
- 在
root [/]# 提示字元中,輸入 reboot -f 並按 Enter 鍵,以完成 root 密碼重設程序。
下一步
做為 VMware Aria Automation 管理員,您現在可以使用新 root 密碼登入 VMware Aria Automation。