About the Linux version vcenter6.0 resetting the root password problem

Source: Internet
Author: User

Today, I encountered a problem that vcenter6.0 forgot the root password. The reason could be 1. The engineers who deployed the VMware virtualization device were forgotten and did not have the proper custody and handover. 2. Google search users answer vcsa password expiration of 90 days default is invalid.

    1. 5.5 of these articles are: https://kb.vmware.com/s/article/2069041 or Chinese version of the VMware website https://wenku.baidu.com/view/fe1f8f3fe518964bce847c75.html

    2. 6.0 of these articles are: https://kb.vmware.com/s/article/2069041 (no Red Hat secondary external disc required) from the VMware website http://www.mamicode.com/ Info-detail-1314498.html (to Red Hat Auxiliary external discs) and https://www.iyunv.com/thread-212404-1-3.html (to Red Hat Auxiliary external discs).

    3. 6.5 of these articles are: http://blog.51cto.com/tech4fei/2053574

But found that the article they wrote could have some place in the actual environment, due to version reasons, there may be differences with my 6.0 version. So I wrote this blog post.

Linux version vcenter6.0 reset root

    1. Please make a copy of the VCenter Server Appliance 6.0 snapshot or backup before continuing. Do not skip this step and you can achieve the purpose of disaster recovery.
    2. Re-boot VCenter Server Appliance 6.0.
    3. After the operating system starts, after the GRUB boot loader appears, press the SPACEBAR/E key immediately (I tried these keys as if you can) disable auto-boot, let the menu stay in the GNU GRUB menu, type P, enter the GRUB password. Such as. (Be sure to press when you're on, or you'll start the vcenter system.) Just like windows into the BIOS, don't miss the chance.)

      Note: (1) If the root password is not edited in Virtual Appliance Management Interface (VAMI) When deploying VCSA, the default GRUB password is vmware.
      (2) If you reset the root password of VCSA using VAMI, the GRUB password is the password set for the root account in VAMI. "If this password is forgotten, please click on the blog to leave a" Red Hat auxiliary external disc method cracked "

    4. Entering the GRUB password returns to the interface. Locate the row with the second row starting with kernel, and press E to enter the edit.
    5. Append the following entry to the end of the line: Init=/bin/bash. Type finished carriage return.

(Note: <on nousb audit=1 vga=0x311 and so on with some documents said <on USB audit=1, etc., do not control it, directly after adding the code of this step can be)

    1. will automatically return to the 4th step interface. Please press the B key to reboot.
    2. At the command prompt, such as. Enter the command passwd root and provide a new root password. After entering 2 times, enter reboot restart.

About the Linux version vcenter6.0 resetting the root password problem

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.