Group (database)
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
- grp - The Group Database — a Python module
gollark: Oh wait, the main menu.
gollark: I can't find a setting to disable HTTP in CCEmuX, though.
gollark: Or in the foreground ones with error handling.
gollark: Ironically, PotatOS might work better than Opus in this case, since HTTP is only used in the background processes.
gollark: Generally you'd just expect HTTP stuff to *error*, not to not exist at all.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.