Remotely restore the root password of an esx Server

Source: Internet
Author: User

There was a machine. Today, I found that I didn't open a firewall, and it actually belonged to me, Khan. I found no password or record.

I don't want to remotely reinstall it. I am worried that the data on several virtual machines running above may flash, so I thought of changing the password for a single user and forgetting it.

Remotely connect to a windows machine on the Intranet and then perform operations through the web management function provided by the machine. The most common features are power management and console.

Esx is actually a linux operating system, but it is not a complete linux system, so those functions in the console, such as ctrl + Alt + DEL, cannot be used, and can only be managed by power.

In this way, after the machine is forcibly restarted, it is a single user, just like linux.

1. Press e in the Guide and edit it.

2. Select vm-related ones, press e to edit them, and add a single carriage return to the last line.

3. Start by B, in the single-user mode

4. Change passwd password after entering

5. changed the password reboot.
 

X13ky blog

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.