In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Crack the ROOT password of VCSA (vCenter Server Appliance) 6.0by restoring GRUB
System version
This is the login interface, of course, we do not know the password, we will have to reset the password, in fact, this technology strictly can not be called "cracking". Because it belongs to the built-in mechanism of Linux system, it can only be regarded as one of the areas of Linux technology.
Don't talk too much nonsense, just get to the point
First, restart the system first, after the operating system starts, after the GRUB boot loader appears, quickly press the direction key to let the menu stay in the GNU GRUB menu. Type p and enter the GRUB password. As shown in the following picture. Be sure to press it when you turn it on, or you will start the vcenter system. Just like Windows joining bios, don't miss the opportunity)
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 for VCSA using VAMI, the GRUB password is the password set for the root account in VAMI.
[if you forget this password, you can only use "reset by auxiliary external CD"]
We've set a password here before, and I don't know.
If this password is correct, please skip to step 11.
=
The next step is how to reset it through the "auxiliary external CD".
Required tools: CentOS or any version of RedHat 6 + 7 to install IOS system
Shut down the system, load the CD-ROM drive, boot, and set the first startup item of BIOS
3. RedHat/CentOS 7 chooses "Troubleshooting" and "Rescue a xxxxxxxx" in turn.
4. In the window in the figure, select the first option, select part of the "Continue" button in the red box. This step is to Mount the root file system of VCSA 6.0to Read/Write and mount it to / mnt/sysimage:
Then, the root file system of VCSA is hung under / mnt/sysimage, as shown in the figure:
6. As shown in the figure, you can see the / mnt/sysimage/boot directory and its contents as follows, enter this directory.
Note: from the figure, you can see a "grub" option
7. Go to the interface shown in the figure and see the "menu.lst" option, which stores the GRUB boot password:
8. Execute vi menu.lst, open the GRUB boot menu editing window, go to the interface shown in the figure, and you can see the password encrypted by MD5 after "password":
After that, delete the line in the picture, and then save the exit
After completing the modification, you can see the interface shown in the figure
Exit exits the Shell interface, then removes ISO from the VCSA 6.0 virtual machine, and then restarts the VCSA 6.0 virtual machine system:
When you come to the GNU GRUB menu again, you can clearly see that the "p" at the bottom has become "e".
Then enter the letter "e" to enter the Kernel editing page, as shown in the picture, and then enter the letter "e" to edit.
12. Come to the interface and add "init=/bin/bash" at the end:
After that, enter the letter "b" to start the system, as shown in figure 13:
Come to the launch interface as shown in the figure:
Enter the command "passwd root" the system will pop up a window to set a new password, the password must meet the strength requirements. After entering twice in a row, complete the setting
16. After the modification is completed, restart your VCSA 6.0. you can go to the interface shown in the figure, enter the password you set, log in, confirm that there is no problem, and get it done:
At this point, all the necessary processes for password recovery have been completed, and after the modification is completed, the restart system can enter VCSA normally.
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: 0
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.