User management method and device

By introducing a first file and a second file to record UIDs in the Linux operating system, and detecting and updating UIDs, the problem of user information confusion caused by non-unique UIDs is solved, and the uniqueness of user UIDs and the accuracy of user management are achieved.

CN121389089APending Publication Date: 2026-01-23NEW H3C TECH CO LTD
4 Cites 0 Cited by

Patent Information

Application Number
CN202511937098.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-22
Publication Date
2026-01-23

AI Technical Summary

Technical Problem

In existing Linux operating systems, UIDs are not unique, leading to user information confusion and causing unnecessary trouble for user management.

Method used

By introducing a first file in the operating system to record the UIDs currently in use, and a second file to record all UIDs used during the operating system's lifecycle, and by detecting whether the target UID has already appeared in user management instructions, user management operations are accurately executed and the first and second files are updated if the target UID has not appeared.

Benefits of technology

This ensures the uniqueness of user UIDs throughout the entire lifecycle of the operating system, avoids user information confusion, and improves the accuracy and efficiency of user management.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The embodiment of the invention provides a user management method and device, and relates to the technical field of data processing.The method comprises the steps that a user management instruction is obtained, and whether the user management instruction specifies a user identifier UID of a user or not is detected; if the user management instruction specifies the UID of the user, detecting whether a target UID specified by the user management instruction is recorded in a first file and a second file or not; and if the target UID is not recorded in the first file and the second file, executing a user management operation corresponding to the user management instruction based on the target UID, and updating the first file and the second file according to the target UID. By applying the user management scheme provided by the embodiment of the invention, the uniqueness of the UID of the user can be ensured.
Need to check novelty before this filing date? Find Prior Art