How to list what users are in a group
Karl-Olov Serrander
m11172 at abc.se
Wed Apr 21 13:59:37 UTC 2010
On Wed, 21 Apr 2010, Natxo Asenjo wrote:
> On Wed, Apr 21, 2010 at 12:39 AM, David Bartmess <dingodave at edingo.net> wrote:
>> This is a basic linux question, but how do I find out what users are
>> included in a given group?
>>
>> Thanks!
>
> getent group <groupname> should do the trick.
But that doeas not show users which has groupname as the primary group.
Regards
--
Karl-Olov Serrander m11172.abc.se
More information about the users
mailing list