Linux standard textbook part 4

Linux user account

A user account is required when using Linux. By giving the user the authority to use the Linux system, it is possible to manage the authority to browse and edit files and directories, arbitrary programs and shell scripts, and the authority to execute.

User

The minimum unit of privilege to operate resources such as memory and files.

group

For handling the privileges of multiple users at once. The user always belongs to one or more groups, and the group to which the user belongs is called a primary group.

root user

A special user with unlimited usage. You can change the system, install and remove programs, and create and remove users. Since all users can access directories and read / write contents regardless of access rights, it is necessary to strictly manage them.

su command

A command that allows a logged-in user to temporarily become another user. If you execute it without specifying a user, it becomes the root user. If multiple people are used as the root user, only the history of the root user remains in the history, so it is difficult to know who did what. When switching from a general user to the root user, the time when the work was started as the root user remains.

sudo command

You can execute commands with superuser (root) privileges. Settings and programs can be executed with root privileges without switching users with the su command.

Recommended Posts

Linux standard textbook part 5
Linux standard textbook part 4
Linux standard textbook memo 1 part 2
Linux standard textbook memo part 6
Linux standard textbook
Linux standard textbook memo 3
I read "Linux standard textbook"!
[Reading memo] Linux standard textbook (Chapter 7-8)
Linux standard textbook chapter end test answer
Linux standard textbook (ver3.0.2) I tried Chapter 1
[Reading memo] Linux standard textbook (Chapter 1 to Chapter 6)
[For memo] Linux Part 2
New Linux commands! !! Part 2
Try normal Linux programming Part 7
Part 1 of receiving standard input
Try normal Linux programming Part 2
Try normal Linux programming Part 4
Try normal Linux programming Part 6
Trying normal Linux programming Part 1
New Linux textbook (study notes)
[For memo] Linux Part 1 vi editor
WSL2 ~ Linux on Windows ~ (Part 1: Introduction)
Linux
Read Normal Linux Programming (Part 1 Only)
Easy JSON formatting with standard Linux functions
Understand the "temporary" part of UNIX / Linux