User and group concept linux-

Here Insert Picture Description

Run a specific process that requires a user

Each user had to have an owner

Here Insert Picture Description
Each process requires a user runtime bindings

When different users perform different operations command file, because authority is inconsistent, inconsistent results will

Here Insert Picture Description

View user information, id command
Here Insert Picture Description
Here Insert Picture Description

Here Insert Picture Description

View user's owner

Here Insert Picture Description
Red is the owner

username to view running processes

Here Insert Picture Description

User group related files

Here Insert Picture Description

User Info

Password information

Group Information

passwd file
Here Insert Picture Description

Line is a user

Each row of content

Here Insert Picture Description

shadow

Here Insert Picture Description

group

Here Insert Picture Description
A list of members of the group: Group name: Password placeholder: Group ID

View format by helping

Here Insert Picture Description

Here Insert Picture Description
Agreement, does not have the force of law

User id agreement

About the root user

Here Insert Picture Description

Guess you like

Origin blog.csdn.net/ifubing/article/details/94697862