Solved

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

Posted on 2014-04-24
3
390 Views
Last Modified: 2014-04-29
what is the command to view all users within a group in Linux
0
Comment
Question by:Anthony Lucia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 29

Assisted Solution

by:serialband
serialband earned 167 total points
ID: 40021122
If you only have local groups.

grep GROUP_NAME /etc/group

For Directory groups
getent group GROUP_NAME
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 166 total points
ID: 40024241
There is no command like "groups" other way around.
neither getent or grep on group file will consider primary group in /etc/passwd.
0
 
LVL 13

Accepted Solution

by:
Sandy earned 167 total points
ID: 40026893
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question