Solved

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

Posted on 2014-04-24
3
399 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 30

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

Give Your Engineering Team a Productivity Boost

Learn why container technology is so powerful and how it can provide your team with productivity gains and other benefits.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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

617 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