Method and device for resetting virtual machine user login password

A virtual machine and virtual machine disk technology, applied in the field of resetting virtual machine user login passwords, can solve the problems of long time consumption, data loss, consumption of host system resources, etc., to achieve short time consumption, save system resources, and ensure security. Effect

Active Publication Date: 2015-03-18
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF8 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] During the research and practice of the prior art, the inventor found that the prior art has at least the following problems: the above-mentioned first method consumes a large amount of system resources of the host machine, takes a long time, and has data loss phenomenon; the above-mentioned second method This method will allow any user to enter the specific mode of the virtual machine corresponding to the user by means of

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for resetting virtual machine user login password
  • Method and device for resetting virtual machine user login password
  • Method and device for resetting virtual machine user login password

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.

[0025] figure 1 A first embodiment of the invention is shown.

[0026] figure 1 It is a schematic flowchart of a method for resetting a virtual machine user login password provided by the first embodiment of the present invention. This method can be applied to a server (that is, a host machine) capable of creating a virtual machine. see figure 1 , the implementation process of the method is described in detail as follows:

[0027] Step S101 , receiving a virtual machine user login password reset request including user ide...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A method and apparatus for resetting a user-login password for a virtual machine are provided. The method includes: receiving a request to reset the user- login password for the virtual machine, wherein the request to reset the user-login password contains user identity information; verifying the user identity information to determine whether the request to reset the user-login password is valid; acquiring right of modifying data in a disk of the virtual machine in accordance with a preset mode when the request to reset the user-login password is valid; replacing user-login password encryption data corresponding to the user identity information stored in the disk of the virtual machine with user-login password encryption data backed up when the virtual machine was created. The invention can reset the user-login password for the virtual machine with relatively short time period and less system resources of a host. Furthermore, other users have no right of requesting reset, and the security of the virtual machine is ensured.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to the field of information security technology, in particular to a method and device for resetting a virtual machine user login password. Background technique [0002] Currently, a server (host) equipped with virtual machine installation software can create one or more virtual machines with login passwords. For the same virtual machine created by the server, the user can log in to the virtual machine by entering the password through the terminal device, and perform a series of interactive command operations with the virtual machine. Different types of users have access to the resource files on the virtual machine. different. For example, the root user of a virtual machine under the Linux or Unix operating system has the operations of adding, deleting, modifying, and checking any resource file on the virtual machine. However, once the user forgets the corresponding virtu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F21/53
CPCG06F21/31G06F21/62G06F2221/2131G06F21/46
Inventor 胡兴华
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products