summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-11-08 19:37:39 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-11-08 19:37:39 +0000
commiteabe392689c3e08b4b5edfbf5e47fff1a991ab47 (patch)
tree4656dec87c6751bd802394d856c994832a91ffee /usr.sbin/ypserv
parent4d90dca684672cb16fb5ffb3e8967303f44348b8 (diff)
- Get rid of ".Sh OPTIONS" and always use the standard options list intro.
- Move some BUGS/CAVEATS to the end of the man pages where they should go. - Correct some .Nm usage.
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r--usr.sbin/ypserv/revnetgroup/revnetgroup.834
1 files changed, 16 insertions, 18 deletions
diff --git a/usr.sbin/ypserv/revnetgroup/revnetgroup.8 b/usr.sbin/ypserv/revnetgroup/revnetgroup.8
index 799014fa2f1..e2068f2d42a 100644
--- a/usr.sbin/ypserv/revnetgroup/revnetgroup.8
+++ b/usr.sbin/ypserv/revnetgroup/revnetgroup.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: revnetgroup.8,v 1.5 2000/03/19 17:57:18 aaron Exp $
+.\" $OpenBSD: revnetgroup.8,v 1.6 2000/11/08 19:37:37 aaron Exp $
.\"
.\" Copyright (c) 1995
.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
@@ -44,7 +44,7 @@
.Fl h
.Op Fl f Ar netgroup_file
.Sh DESCRIPTION
-.Nm revnetgroup
+.Nm
processes the contents of a file in
.Xr netgroup 5
format into what is called
@@ -55,9 +55,9 @@ netgroup memberships in terms of which members reside in a particular
group, the reverse netgroup format specifies what groups are associated
with a particular member.
This information is used to generate the
-.Nm netgroup.byuser
+.Pa netgroup.byuser
and
-.Nm netgroup.byhosts
+.Pa netgroup.byhosts
YP maps.
These reverse netgroup maps are used to help speed up
netgroup lookups, particularly for the
@@ -65,14 +65,14 @@ netgroup lookups, particularly for the
library function.
.Pp
For example, the standard
-.Nm /etc/netgroup
+.Pa /etc/netgroup
file may list a netgroup and a list of its members.
Here, the netgroup is considered the
.Pa key
and the member names are the
.Pa data .
By contrast, the reverse
-.Nm netgroup.byusers
+.Pa netgroup.byusers
database lists each unique
member as the key and the netgroups to which the members belong become
the data.
@@ -90,15 +90,13 @@ of users and hosts, since it can take a considerable amount of time
to process very large netgroup databases.
.Pp
The
-.Nm revnetgroup
+.Nm
command prints its results on the standard output.
It is usually called only by
-.Nm /var/yp/\<domain\>/Makefile
+.Pa /var/yp/\<domain\>/Makefile
when rebuilding the YP netgroup maps.
-.Sh OPTIONS
-The
-.Nm revnetgroup
-command supports the following options:
+.Pp
+The options are as follows:
.Bl -tag -width flag
.It Fl u
Generate netgroup.byuser output; only username information in the
@@ -112,9 +110,9 @@ or
flags must be specified.)
.It Op Fl f Ar netgroup_file
The
-.Nm revnetgroup
+.Nm
command uses
-.Nm /etc/netgroup
+.Pa /etc/netgroup
as its default input file.
The
.Fl f
@@ -122,16 +120,16 @@ flag allows the user to specify an alternate input file.
Specifying
.Dq -
as the input file causes
-.Nm revnetgroup
+.Nm
to read from the standard input.
.El
.Sh FILES
-.Bl -tag -width Pa -compact
+.Bl -tag -width xxxxxxxxxxxxxxxxxxxxxxxx -compact
.It Pa /var/yp/\<domain\>Makefile
The Makefile that calls
-.Nm makedbm
+.Xr makedbm 8
and
-.Nm revnetgroup
+.Nm
to build the YP databases.
.It Pa /etc/netgroup
The default netgroup database file.