Re: How to list what users are in a group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 21 Apr 2010, Aaron Konstam wrote:

> On Wed, 2010-04-21 at 15:59 +0200, Karl-Olov Serrander wrote:
>> On Wed, 21 Apr 2010, Natxo Asenjo wrote:
>>
>>> On Wed, Apr 21, 2010 at 12:39 AM, David Bartmess <dingodave@xxxxxxxxxx> 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
>
> But that was not requested by the OP.
> --
> =======================================================================
> A well adjusted person is one who makes the same mistake twice without
> getting nervous.
> =======================================================================
> Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

I was trying to make the point that if you have groupname as primary group you are a
member of group groupname, even if you're not listed when doing "getent group <groupname>".

Regards
-- 
Karl-Olov Serrander m11172.abc.se
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux