Solved

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

Posted on 2014-04-24
3
384 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 61

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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Question has a verified solution.

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

Suggested Solutions

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.

947 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now