Contents
How do I see who is in a Linux group?
Linux Show All Members of a Group Commands
- /etc/group file – User group file.
- members command – List members of a group.
- lid command (or libuser-lid on newer Linux distros) – List user’s groups or group’s users.
28 февр. 2021 г.
How do I see members of a UNIX group?
You can use getent to display the group’s information. getent uses library calls to fetch the group information, so it will honour settings in /etc/nsswitch. conf as to the sources of group data.