A method and system for resetting passwords based on linux

A password and password reset technology, applied in the field of password reset, can solve problems such as poor practicality and cumbersome operation

Active Publication Date: 2021-04-09
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a password reset method and system based on Linux, which aims to solve the problems of too complicated operation and poor practicability for password reset in the prior art, realize simple operation to perform password reset, simplify operation, improve user experience

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
  • A method and system for resetting passwords based on linux
  • A method and system for resetting passwords based on linux

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to clearly illustrate the technical features of the present solution, the present invention will be described in detail below through specific implementation methods and in conjunction with the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and / or letters in different instances. This repetition is for the purpose of simplicity and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed. It should be noted that components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and processes are omitted herein to avoid unnecessarily lim...

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

The present invention provides a password reset method and system based on Linux, comprising: S1, mounting the drive letter of the mobile device to / mnt; S2, writing grub into the mobile device; S3, resetting the password Write the script into the initramfs.img file to generate a new initramfs.img file; S4, copy the initramfs.img file containing the password reset script into the mobile device. S5. Modify the initramfs boot file of the grub.cfg file in the mobile device to be a newly generated initramfs.img file. In the present invention, a password reset script is built into a mobile device such as a U disk. When the user forgets the system password and needs to reset the password, he or she chooses to boot from the U disk mobile device, and the built-in password reset script automatically runs to complete reset Password. Users do not need to remember the complex operation of repeatedly trying or modifying the grub kernel startup parameters to enter the shell interface to reset the password. They only need to start the reset from the preset U disk mobile device, which reduces the memory burden of the user and simplifies the heavy operation. The process of setting a password is convenient for the user to reset the password.

Description

technical field [0001] The invention relates to the technical field of password reset, in particular to a Linux-based password reset method and system. Background technique [0002] In the Linux system, if the user forgets the password, or tries repeatedly through memory, or needs to use the CD-ROM rescue mode, or modify the grub kernel startup parameters to enter the shell interface to reset the password. Modifying the grub kernel startup parameters requires 9 steps to complete the password reset operation. [0003] The specific operation of modifying the grub kernel startup parameters is as follows: [0004] In the startup grub menu, select the edit option to start; when the system starts to the grub interface, press the e key to enter the editing interface, enter rd.break at the end of the line in Linux 16, and press Ctrl+x to start the system; in the shell interface after startup , remount the file system for reading and writing; set the root directory; modify the root...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445G06F21/31
CPCG06F9/4451G06F21/31
Inventor 刘骏
Owner ZHENGZHOU YUNHAI INFORMATION TECH 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