Linux Group Types

Group is nothing but collection of users using which one can reduce the administration task in the O/S environment.

Groups are two types:

Primary Group:
It is a group in which a user initially belongs in this group the user can access the resource with default permissions.

Secondary Group: A part from primary if a user have an account in the other group i.e. then it is called as secondary group to the user.

Group information maintained by two data files.
/etc/group/ : This maintains group related information.
/etc/gshadow: This file maintains group password related information.

Powered by k2schools
Skip to toolbar