Re: Querying netgroup information

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



On Mon, Jun 21, 2010 at 4:50 PM, Joshua Gimer <jgimer@xxxxxxxxx> wrote:
> On Mon, Jun 21, 2010 at 9:17 AM, Gerhardus Geldenhuis
> <gerhardus.geldenhuis@xxxxxxxxx> wrote:
>
>>
>> Two questions:
>> * Is there a similar package with similar commands to query netgroup
>> membership available for Centos? I have not been able to find such a
>> package yet.
>>
>
> I believe that you can use the getent command that is built in to CentOS.
>
> getent netgroup <netgroup name>
>
> --
> Thanks,
> Joshua Gimer
>

Thanks Joshua,
I have been using getent but it requires a bit of reformatting to make
it more readable at a glance. I guess you can write a wrapper script
for it...

Regards

-- 
Gerhardus Geldenhuis
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux