User Group File 07 | Linux Topics
reference source https://www.bilibili.com/video/BV187411y7hF?spm_id_from=333.999.0.0 Version This article is based on CentOS 7.6 Overview All information about user groups is stored in the /etc/group file. Grouping users is a means of managing users and controlling access rights in Linux systems. Every user belongs to a certain user group. A group can have multiple users, and a user can belong to different groups. When a user is a member of multiple groups at the same time, the main group to which the user belongs is recorded in the /etc/passwd file, that is, the default group to which the user belongs when logging in, and other groups are called additional groups ....