Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Vmware Esxi 5.0forgot how to reset the password

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to reset your forgotten password in vmware Esxi 5.0. the editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

The details are as follows:

Method one, reinstall esxi, do not overwrite datastore, this is relatively simple.

Method 2. If you have to recover the password

1. Boot the CD with linux, such as the installation CD of rhel5 or knoppix

2. Under the command line, run mount / dev/sda5 / mnt/sda5

3. Cp / mnt/sda5/stage.tgz / tmp/.

4.

Cd / tmp tar xvfz stage.tgz tar xvfz local.tgz

5. Vi / tmp/etc/passwd

Put a similar root:x:143434343:12232:9:99999:7

143434343 of this line is cleared.

6.

Rm-f stage.tgz local.tgz tar czvf local.tgz etc tar czvf stage.tgz local.tgz cp local.tgz / mnt/sda5/.

7. Restart esxi to reset the root password

Summary:

1. Use U disk to make a boot disk, and then you can enter the operating system through the boot disk.

two。 Do not have to use mount, I use the Ubuntu desktop, automatically mounted. Sda5 is one of the disks, and the disk that finds the most files is sda5.

The names of compressed files vary with different versions of 3.esxi. Esxi 5.0 corresponds to state.tgz.

4. Copy to the desktop, decompress, decompress, and then delete the hash password of the line corresponding to root in the shadow directory. Then re-compress, using references [3]

Step six, just compress it. You can also right-click to compress and change the file name.

5. Replace the original file. Restart. Then you can enter the settings without entering a password. Just change the password.

This is the end of this article on "vmware Esxi 5.0forget password reset". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 229

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report