-
Do user management commands manage users?
Add user useradd
Delete the user userdel
Add group groupadd
Delete the groupdel
Change user passwords, passwd, etc.
-
Common user management commands in Linux:
groups
Lists all groups to which the current user belongs.
newgrp
groupname
Change the valid user group of the current user to groupname. A user can belong to multiple groups, but only one.
A valid user group, which belongs to a valid user group when it creates a new file.
dhome]
sshell]
ccomment]-m-k
template]]
finactive]-eex
pire-p
passwd
unameCreate a user with the username unamepasswd
useraccount]
Set a password for the useraccount.
usermod
lu][-c
Remarks] [d
Login to the directory "][e
Expiration date] [f
Buffer days] [g
Groups] [g
Group]-l
Account Name] [s
u[User ID].
Change some of the user's attributes.
userdel
r]username
To delete a user, -r means to delete along with the home directory.
finger
username
View information about usernam.
idusername]
Query the user's UID and GID data.
groupadd
ggid]r]groupname
Create a group named groupname, and -r indicates the establishment of a system user group.
groupmod
ggid]nnew_name]
ori_groupname
Change the name and ID of the group
groupdel
groupname]
Delete a user group.
gpasswd
Change the group password.
-
The Linux operating system consists of two main components:
Kernel: The Linux kernel is the core part of the operating system and is responsible for managing computer hardware and providing basic system functions. It handles interaction with hardware, memory management, process scheduling, device drivers, and more.
The kernel is the core engine of the Linux operating system.
User space: User space is the environment in the operating system for users and applications to run. It contains a variety of applications, tools, and services for users to interact with and perform a variety of tasks.
The user space provides functions such as file management, network communication, graphical interface, command line terminal, etc.
The user refers to the end user who operates the Xiaoqiao Zen system, and they can interact with the operating system through the graphical interface or command line interface to perform various operations and tasks.
In addition to the user and kernel, there are other important components that make up the complete Linux operating system, such as system libraries, file systems, network stacks, drivers, etc. These components work together to make the Linux operating system a powerful, flexible, and customizable open-source** operating system.
-
The Linux operating system consists of a kernel that is responsible for the underlying management and access to hardware resources, while the userspace provides a user interface and a variety of applications for users to interact with and perform tasks with the operating system.
-
Linux commands are commands that manage the Linux system. For the Linux system, whether it is the Zhonghui processor, memory, disk drive, keyboard, mouse, or user, etc., are all files, the Linux system management command is its normal operation with Biru core, similar to the previous DOS commands. There are two types of Linux commands in the system:
Built-in shell commands and Linux commands.
Mode switching. 1. From the graph to the character logout or init3.
2. From the character to the graphical interface init5.
3. Exit or exit or ctrld.
4. Cancel CtrlaltBackspace.
5. Shutdown poweroff or init0 or shutdown-hnow or halt-p.
6. Restart reboot or init6 or shutdown-rnow.
-
1. The common operation commands of the Linux system are as follows: ls: full spelling list, the function is to list the content of the directory and its content attribute information.
cd: spelling changedirectory,The function is to switch from the current working directory to the specified working directory。 cp:
Spelling copy,Its function is to copy files or directories。
2. Kill process killvi command vi vim is the most commonly used texter in linux, and it is very powerful.
3. The basic Linux operation command is as follows: Check the kernel version: uname-a.
Console-GUI: init5 or startx. Graphical Interface - Console:
4. Linux common command: pwd command, the English interpretation of this command is printworkingdirectory (print working directory). Enter the pwd command, and Linux will output the current directory.
cd command, the cd command is used to change the directory in which it is located.
5. There are two types of Linux commands in the system: built-in shell commands and Linux commands. The mode is switched from the graph to the character logout or init3.
From characters to the graphical interface init5. Exit or exit or slide potato ctrld. Log out of CtrlaltBackspace.
6. The grep command in Linux system is a powerful text search tool, grep allows the text file to be searched in the form of a room. If a matching pattern is found, grep prints all rows that contain the pattern. The general format of grep is:
When entering string roll parameters in the grep command, it is best to enclose them in quotation marks or double quotation marks. For example: grep'a'txt.
The obvious advantage of the Linux operating system is that it is open source and free, and most of the applications on it are also the same. In addition, the Linux system has lower hardware requirements, and the system is more stable than the Windows system. >>>More
Encyclopedia: Yes.
Again, go to the big Linux forums, such as: >>>More
Advantages of the Linux system.
1. Open source**. >>>More
Linux, the full name of GNU Linux, is a set of free-to-use and freely disseminated UNIX-like operating system, its kernel was first released by Linus Bennadikht Tovaz in 1991, it is mainly inspired by the ideas of Minix and Unix, is a multi-user, multi-tasking, multi-threading and multi-CPU operating system based on Posix and Unix. It runs major Unix tools, applications, and network protocols. It supports both 32-bit and 64-bit hardware. >>>More
Answer]: The research on the security protection of the operating system usually includes the following contents: First, the security functions and security services provided by the operating system itself. >>>More