如何在 vCenter Server Appliance 6.5 中重置丢失或忘记的 root 密码 (2147144)

如何在 vCenter Server Appliance 6.5 中重置丢失或忘记的 root 密码 (2147144)


Last Updated: 11/14/2019Categories: Troubleshooting subscribe

 Purpose


免责声明:本文为 How to reset the lost or forgotten root password in vCenter Server Appliance 6.5 (2147144) 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。


本文介绍在您丢失或忘记 vCenter Server Appliance 6.5 的现有 root 密码时如何重置 root 密码。

重要事项:本文明确用于 vCenter Server Appliance 6.5,不适用于以前的版本。

 Resolution

要在 vCenter Server Appliance 6.5 中重置丢失或忘记的 root 密码,请执行以下操作:

  1. 请先生成 vCenter Server Appliance 6.5 快照或备份,然后再继续。不要跳过该步骤。
  2. 重新引导 vCenter Server Appliance 6.5。
  3. 在操作系统启动后,立即选择选项e键以进入 GNU GRUB 编辑菜单。
  4. 找到以单词 linux 开头的行
  5. 将以下条目附加到该行的末尾:

    rw init=/bin/bash

    该行应类似于下面的屏幕截图

  6. F10继续引导。
  7. 运行 mount -o remount,rw / 命令。
  8. 在命令提示符下,输入命令 passwd 并提供新的 root 密码(输入两次以进行确认):
    passwd
     
  9. 通过运行以下命令卸载文件系统:
    umount/
     
  10. 运行以下命令以重新引导 vCenter Server Appliance 6.5:
    reboot -f
     
  11. 确认您可以使用新的 root 密码访问 vCenter Server Appliance 6.5。
  12. 移除步骤 1 中创建的快照(如果适用)。

 Related Information

How to reset the lost or forgotten root password in vCenter Server Appliance 6.5

 Request a Product Feature

To request a new product feature, please contact your VMware representative.

发布了886 篇原创文章 · 获赞 30 · 访问量 11万+

猜你喜欢

转载自blog.csdn.net/allway2/article/details/103889107