Question: what is difference between primary group and secondary group in linux?
Answer: The two types of groups that a user can belong to are as follows: Primary group – Specifies a group that the operating system assigns to files that are created by the user. ... Secondary groups – Specifies one or more groups to which a user also belongs. Users can belong to up to 15 secondary groups.