Group (Database)

From Handwiki

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.

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




Categories: [Unix authentication-related software]


Download as ZWI file | Last modified: 07/30/2024 01:54:19 | 3 views
☰ Source: https://handwiki.org/wiki/Software:Group_(database) | License: CC BY-SA 3.0

ZWI is not signed. [what is this?]