1. the user information is stored in/etc/passwd, the password is stored in/etc/shadow, and the group name is stored in/etc/group2. it indicates 7 columns of file/directory permissions: Column 1: d: directory-: File l: linkfile (connection file) B: stores data to provide random access interfaces to the system...
1. the user information is stored in/etc/passwd, the password is stored in/etc/shadow, and the group name is stored in/etc/group.
2. 7 columns indicating file/directory permissions:
Column 1: d: Directory
-: File
L: linkfile (connection file)
B: stores data to provide random access interface devices.
C: Serial port interface device
S: sockets
P: pipeline (pipe)
Column 2: I-node: how many different file names are connected to this node I-node
3. chgrp: change group
-R: recursion of all directories and files in directory, also applies to the following two commands
4. chown: change owner
Chown user./: group file
5. chmod: change mode
Two permission setting methods: numbers and symbols
6. File permission
R: Read file content
W: modify the file content (excluding the delete permission)
X: running file
7. Directory permission
R: Read the directory structure List
W: change the directory structure list (you can delete files in the directory)
X: enter this directory
8. open a directory to other users. at least the rx permission should be granted.