Group (database)

This article provides insufficient context for those unfamiliar with the subject. Please help improve the article by providing more context for the reader. (May 2013) (Learn how and when to remove this template message)

|

This article does not cite any external source. HandWiki requires at least one external source. See citing external sources. Please help improve this article. Unsourced material may be removed in future.
Find sources: "Group" database – news · newspapers · books · scholar · JSTOR (May 2013) (Learn how and when to remove this template message)

|

Group is a name service database used to store group information on Unix-like 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.

## Contents

* 1 Seeing available groups on a Unix system
* 2 Command line
* 2.1 Fetching a list of all available groups
* 2.2 Fetching a specific group
* 3 Python

## 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 module

This article uses only URLs for external sources. Please consider converting them to the standard citations to ensure the article meets the HandWiki citation style. (2021) (Learn how and when to remove this template message)

|

This article does not cite any external source. HandWiki requires at least one external source. See citing external sources. Please help improve this article. Unsourced material may be removed in future.
Find sources: "Group" database – news · newspapers · books · scholar · JSTOR (2021) (Learn how and when to remove this template message)

|

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Group (database). Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Group_(database)&oldid=721066"