LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: How To List The Members Of A Group In Linux (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-how-to-list-the-members-of-a-group-in-linux-4175691215/)

LXer 02-26-2021 04:54 PM

LXer: How To List The Members Of A Group In Linux
 
Published at LXer:

This tutorial explains different ways to find and list all groups and list the members of a group in Linux and Unix-like operating systems.

Read More...

greencedar 02-26-2021 05:04 PM

Very interesting tutorial. The tutorial explains the 'grouping,' starting with the, 'Primary group,'of users in Linux. The tutorial explains, along with the commands, to grouping and how to find the different groups through terminal commands.

Quote:

All users in a Linux system must be a member of at least one group. This group is known as Primary group. If an user doesn't have a primary group, he/she can't able to login. Apart from the primary group, the users can be a member of additional groups as well. The primary group setting is stored in "/etc/passwd file". The primary group's name is specified in the 4th field of this file. The settings of other (secondary) groups are stored in "/etc/group" file. This tutorial explains different ways to find and list all groups and list the members of a group in Linux and Unix-like operating systems.


All times are GMT -5. The time now is 10:33 PM.