Linux Groups and the /etc/group File Flashcards
A group is just an …?
integer group id (gid).
Every process that runs on the system runs under a…?
collection of groups (gids)
The /etc/group file maps gids to…?
group names and group memberships.
Every file in the filesystem is owned by…?
a single gid.
Users have a single primary group defined in…?
the /etc/passwd file
Users may be members of multiple …?
secondary groups, defined in the /etc/groups file.
Group memberships allow system administrators to…?
efficiently manage collections of users with similar objectives.
Every user is a member of…?
one primary group.
Users can be a member of zero or more…?
secondary groups.
To the Linux kernel, a group is referenced using a…?
32 bit integer group id (GID).
The /etc/group file associates group names with..?
GIDs (for humans), and defines which users belong to which groups.
The /etc/group file plays a similar role for groups as the…?
/etc/passwd file plays for users, has a similar structure, and more reasonable name. It is a line based configuration file, with each consisting of colon separated fields.
/etc/group file fields:
Field 1…?
Group names, the group name is used to give a human readable name to the group.
/etc/group file fields:
Field 2…?
Group Password, Groups can be supplied with a group password, though this is rarely done.
/etc/group file fields:
Field 3…?
Group ID (GID), The integer group id.