An encapsulation method of linux command line
An encapsulation method and command line technology, which is applied in the direction of program control devices, program control design, instruments, etc., can solve the problems of not supporting root user execution, not supporting calling multiple versions, inputting passwords, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] There are many implementations of the present invention, here we take the cloud platform as an example to illustrate one of the implementation methods, the flow chart is as follows figure 1 As shown, the specific implementation process is as follows:
[0031] 1. First, add one or more files in the / etc / sudoers.d / directory of Linux to allow one or more users to execute the command line packaging tool as the root user without entering a password.
[0032] 2. Command line analysis;
[0033]
[0034] 3. Read and parse the configuration file;
[0035]
[0036] 4. Load the filter object of the filter file;
[0037]
[0038] 5. Match the command line filter object;
[0039]
[0040] 6. Encapsulate the command line;
[0041]
[0042] 7. Execute the command line;
[0043]
[0044] The whole process is over.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


