A method for cloud management platform to reset kvm virtual machine password
A technology for resetting passwords and cloud management. It is applied in the field of resetting KVM virtual machine passwords on cloud management platforms. It can solve problems such as time-consuming, user data loss, and consumption of host system resources. It achieves simple, high-efficiency, and improved user experience Effect
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2021-01-15
Smart Images

Figure 1
Abstract
Description
technical field
[0001] The invention relates to the technical field of virtual machines, in particular to a method for resetting the password of a KVM virtual machine on a cloud management platform. Background technique
[0002] When the user of the cloud management platform forgets the login password of the virtual machine under the account, there are usually two ways to retrieve the password, one is to reinstall the operating system of the virtual machine; the other is to use third-party tools to brute force the virtual machine password crack. However, reinstalling the virtual machine operating system will consume a lot of system resources of the host machine, which will take too long and cause the loss of user data; and the operation of using third-party tools to crack the virtual machine password is very complicated and time-consuming, no matter which one is used methods are not desirable. Contents of the invention
[0003] The purpose of the present invention is to ...
Examples
Embodiment Construction
[0020] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods.
[0021] A kind of cloud management platform resets the method for KVM virtual machine password of this embodiment, comprises cloud management platform, KVM virtual machine and Linux host machine, such as figure 1 As shown, the cloud management platform resetting the KVM virtual machine password includes the following steps:
[0022] Step A: the cloud management platform receives the user's request to reset the password, and determines the KVM virtual machine, user name and new password that need to reset the password;
[0023] Step B: the cloud management platform obtains the IP address of the Linux host machine where the KVM virtual machine that needs to reset the password is obtained by querying the database, and connects to the Linux host machine;
[0024] Step C: the cloud management platform ob...