请输入您要查询的百科知识:

 

词条 Group (database)
释义

  1. Seeing available groups on a Unix system

  2. Command line

      Fetching a list of all available groups    Fetching a specific group  

  3. Python

{{context|date=May 2013}}{{unsourced|date=May 2013}}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

  • [https://docs.python.org/lib/module-grp.html grp - The Group Database] — a Python module
{{DEFAULTSORT:Group (Database)}}{{unix-stub}}

1 : Unix authentication-related software

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/24 6:31:03