• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 409
  • Last Modified:

what is the command to view all users within a group in Linux

what is the command to view all users within a group in Linux
0
Anthony Lucia
Asked:
Anthony Lucia
3 Solutions
 
serialbandCommented:
If you only have local groups.

grep GROUP_NAME /etc/group

For Directory groups
getent group GROUP_NAME
0
 
gheistCommented:
There is no command like "groups" other way around.
neither getent or grep on group file will consider primary group in /etc/passwd.
0
 
SandyCommented:
yes, there is no command you can find out by using graphical panel called.

#system-config-users or the same command use by @Serialband

TY/SA
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now