Group (database)
   HOME

TheInfoList



OR:

Group is a name service database used to store group information on
Unix-like A Unix-like (sometimes referred to as UN*X or *nix) operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Unix-li ...
operating systems. The sources for the group database (and hence the sources for groups on a system) are configured, like other name service databases, in nsswitch.conf.


Seeing available groups on a Unix system

The contents of the group database (and available groups) can be seen with a variety of tools:


Command line

The getent command can be used to fetch group information.


Fetching a list of all available groups

getent group


Fetching a specific group

For a specific group called 'users':
getent group users


Python


grp - The Group Database
— a
Python Python may refer to: Snakes * Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia ** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia * Python (mythology), a mythical serpent Computing * Python (pro ...
module Unix authentication-related software {{unix-stub