• VSphere随笔


    今天重新安装VCSA,安装多次一直卡在80%的画面不动,显示正在安装RPM包,同时log日志显示“Failed to authenticate with the guest operating system using the supplied ”,登录控制台查看VCSA服务器进度发现root密码没有被设置,手工修改密码也是失败。经过网上查看资料,发现VCSA的安装盘是有过期日的,因为盘内老的root密码已经过期,所以root账户过期后,安装程序在执行过程中将无法按照用户的预设值去修改原系统默认的root密码。

    鉴于此情况,所以尝试了在80%界面去修改root密码,VCSA修改root密码可在系统启动时完成(可参看如下指引),修改完root密码并重启生效后,VCSA的安装界面便可以开始往后面继续执行了,直到完成VCSA安装时的第二部分配置。

    如下是VCSA的root密码修改方法:

    To reset the lost forgotten root password in vCenter Server Appliance 6.5:

      1. Take a snapshot or backup of the vCenter Server Appliance 6.5 before proceeding. Do not skip this step.
      2. Reboot the vCenter Server Appliance 6.5.
      3. After the OS starts, press key “e” to enter the GNU GRUB Edit Menu.
      4. Locate the line that begins with the word Linux.
      5. Append these entries to the end of the line:

        rw init=/bin/bash

        The line should look like the following screenshot:


         
      6. Press F10 to continue booting.
      7. Run the mount -o remount,rw / command.
      8. In the Command prompt, enter the command passwd and provide a new root password (twice for confirmation):

        passwd
         
      9. Unmount the filesystem by running this command:

        umount /
         
      10. Reboot the vCenter Server Appliance 6.5 by running this command:

        reboot -f
         
      11. Confirm that you can access the vCenter Server Appliance 6.5 using the new root password.
      12. Remove the snapshot taken in Step 1 if applicable.
  • 相关阅读:
    一些有趣的chrome 插件
    蚁剑菜刀虚拟终端执行命令返回ret=127之bypass
    渗透工具:蚁剑(AntSword)教学
    追踪系统工作原理
    Burp Suite爆破Basic认证密码
    挖洞思路
    Spire.XLS打印页面设置教程 C# VB.NET Excel直接打印
    Connection is readonly. Queries leading to data modification are not allowed 解决方法
    shell order
    白帽专访丨大家好,我是王老师,Day1安全团队的创始人
  • 原文地址:https://www.cnblogs.com/martin001/p/10016477.html
Copyright © 2020-2023  润新知