/etc/passwd
/etc/shadow
- Password related information
/etc/group
- Group name Related information
Chgrp
- CHGRP group_a xxx Change file group genus
- CHGRP group_b-r XXX Change directory and the following group genera
Chown
- Chown user_a xxx Change file owner
- Chown user_a-r XXX Change directory and the following group genera
chmod
- chmod 751 XXX Change file/directory permissions
- chmod u+r g-w o=rwx xxx Change file/directory permissions (U:user, G:group, O:other)
/etc
- Configuration
- Cannot be separated from the root directory on different partitions
/bin/
- command to be used on boot
- Commands that can be used in single-user maintenance mode
- Cannot be separated from the root directory on different partitions
/sbin/
- command to be used on boot
- Non-root users can only use "query" and cannot "change"
- Cannot be separated from the root directory on different partitions
/lib/
- The library that will be used to boot
- Cannot be separated from the root directory on different partitions
/boot/
- Files that are used by the boot
/dev/
- Equipment
- Cannot be separated from the root directory on different partitions
/media/
/mnt/
- Devices that are temporarily mounted
/root/
/home/
/proc/,/sys/
- System state that is placed in memory
/etc/init.d/
/usr/bin/
- Non-mandatory user commands
/usr/sbin/
- Non-mandatory system commands
/usr/include/
- Program Language header File
/usr/lib/
- Library files, destination files
/usr/share/
- Share files
- System-Independent text files
/usr/src/linux/
/var/log
- Log in and record information
/var/lock
/var/cache
Note "Bird's Linux Private cuisine" 6 Linux file permissions and directory configuration