Solved

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

Posted on 2014-04-24
3
385 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
3 Comments
 
LVL 28

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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 …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

785 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