5. /etc/group

Another file that is used in user management is the /etc/group file. This file allows for different groups with different permissions.

$ cat /etc/group


Very similar to the /etc/password field, the /etc/group fields are as follows:

  1. Group name

  2. Group password - there isn't a need to set a group password, using an elevated privilege like sudo is standard. A "*" will be put in place as the default value.

  3. Group ID (GID)

  4. List of users - you can manually specify users you want in a specific group


Run the command groups. What do you see?


What is the GID of root?