您可以重置丢失或忘记的 VMware Aria Automation root 密码。

在此过程中,您将在主机 vCenterAppliance 上使用命令行窗口来重置您组织的 VMware Aria Automation root 密码。

前提条件

此过程适用于 VMware Aria Automation 管理员,需要使用访问主机 vCenter Appliance 所需的凭据。

有关 VMware Aria Suite Lifecycle 中密码管理的相关信息,请参见知识库文章 92245

过程

  1. 使用启动和停止 VMware Aria Automation中所述的步骤关闭并启动 VMware Aria Automation
  2. 当 Photon 操作系统命令行窗口出现时,输入 e,然后按 Enter 键以打开 GNU GRUB 引导菜单编辑器。
  3. GNU GRUB 编辑器中,在以 linux "/" $photon_linux root=rootpartition 开头的行末尾输入 rw init=/bin/bash,如下所示:

    重置上下文中的 root 密码字符串

  4. F10 键以推送更改并重新启动 VMware Aria Automation
  5. 等待 VMware Aria Automation 重新启动。
  6. root [/]# 提示符处,输入 passwd,然后按 Enter 键。
  7. New password: 提示符处,输入新密码,然后按 Enter 键。
  8. Retype new password: 提示符处,重新输入新密码,然后按 Enter 键。
  9. root [/]# 提示符下,输入 reboot -f,然后按 Enter 键以完成 root 密码重置过程。

    重置 root 密码成功

下一步做什么

作为 VMware Aria Automation 管理员,您现在可以使用新的 root 密码登录 VMware Aria Automation

要在 VMware Aria Suite Lifecycle 之外修复密码,请参见知识库文章 92253