xref: /netbsd-src/usr.bin/netgroup/netgroup.1 (revision 11a6dbe72840351315e0652b2fc6663628c84cad)
1*11a6dbe7Smartin.\"	$NetBSD: netgroup.1,v 1.6 2008/04/30 13:11:01 martin Exp $
27a3f6c58Schristos.\"
37a3f6c58Schristos.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
47a3f6c58Schristos.\" All rights reserved.
57a3f6c58Schristos.\"
67a3f6c58Schristos.\" This code is derived from software contributed to The NetBSD Foundation
77a3f6c58Schristos.\" by Kimmo Suominen
87a3f6c58Schristos.\"
97a3f6c58Schristos.\" Redistribution and use in source and binary forms, with or without
107a3f6c58Schristos.\" modification, are permitted provided that the following conditions
117a3f6c58Schristos.\" are met:
127a3f6c58Schristos.\" 1. Redistributions of source code must retain the above copyright
137a3f6c58Schristos.\"    notice, this list of conditions and the following disclaimer.
147a3f6c58Schristos.\" 2. Redistributions in binary form must reproduce the above copyright
157a3f6c58Schristos.\"    notice, this list of conditions and the following disclaimer in the
167a3f6c58Schristos.\"    documentation and/or other materials provided with the distribution.
177a3f6c58Schristos.\"
187a3f6c58Schristos.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
197a3f6c58Schristos.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
207a3f6c58Schristos.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
217a3f6c58Schristos.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
227a3f6c58Schristos.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
237a3f6c58Schristos.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
247a3f6c58Schristos.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
257a3f6c58Schristos.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
267a3f6c58Schristos.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
277a3f6c58Schristos.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
287a3f6c58Schristos.\" POSSIBILITY OF SUCH DAMAGE.
297a3f6c58Schristos.\"
307a3f6c58Schristos.Dd March 2, 1999
317a3f6c58Schristos.Dt NETGROUP 1
327a3f6c58Schristos.Os
337a3f6c58Schristos.Sh NAME
347a3f6c58Schristos.Nm netgroup
357a3f6c58Schristos.Nd list netgroup members
367a3f6c58Schristos.Sh SYNOPSIS
377a3f6c58Schristos.Nm
387a3f6c58Schristos.Op Fl dhu
397a3f6c58Schristos.Ar netgroup
407a3f6c58Schristos.Sh DESCRIPTION
417a3f6c58Schristos.Nm
42be8ae688Sgrantlists the members of specified netgroups.
43be8ae688SgrantThe type of members is selected using the following options:
447a3f6c58Schristos.Bl -tag -width Ds
457a3f6c58Schristos.It Fl d
467a3f6c58Schristoslist domains
477a3f6c58Schristos.It Fl h
487a3f6c58Schristoslist hosts (the default)
497a3f6c58Schristos.It Fl u
507a3f6c58Schristoslist users
51fa45851fSerh.El
527a3f6c58Schristos.Sh SEE ALSO
537a3f6c58Schristos.Xr innetgr 1 ,
547a3f6c58Schristos.Xr netgroup 5
557a3f6c58Schristos.Sh HISTORY
567a3f6c58SchristosA
577a3f6c58Schristos.Nm
587a3f6c58Schristosutility appeared in
5961b4051bSchristos.Nx 1.4
6061b4051bSchristosand was inspired from the
617a3f6c58Schristos.Nm
6261b4051bSchristosutility that was written
637a3f6c58Schristosby Ken Lalonde (University of Toronto).
64