Digital Marketing

Primary and secondary groups on Linux

There are two types of groups — primary and secondary.

The primary group is the one that's recorded in the /etc/passwd file,

configured when an account is set up. When a user creates a file, it's

their primary group that is associated with it.

Secondary groups are those that users might be added to once they

already have accounts. Secondary group memberships show up in the

/etc/group file.


Popular posts from this blog

MySQL Sandbox with the Sakila sample database