~ubuntu-branches/ubuntu/oneiric/nis/oneiric-proposed

« back to all changes in this revision

Viewing changes to ypserv-2.18/revnetgroup/revnetgroup.8.in

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2005-11-16 23:42:06 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20051116234206-p00omaw5ji5q0qhr
Tags: 3.15-3ubuntu1
Resynchronise with Debian.  (me)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" -*- nroff -*-
 
2
.TH REVNETGROUP 8 "August 2001" "YP Server" "Reference Manual"
 
3
.SH NAME
 
4
revnetgroup \- generate reverse netgroup data
 
5
.SH SYNOPSIS
 
6
\fB@YPBINDIR@/revnetgroup\fR [\fB-u\fR|\fB-h\fR]
 
7
.SH DESCRIPTION
 
8
.B Revnetgroup
 
9
processes the standard input in
 
10
.BR netgroup (5)
 
11
format into what is called
 
12
.I reverse netgroup
 
13
form. That is, where the original file shows netgroup memberships in
 
14
terms of which members reside in a particular
 
15
group, the reverse netgroup format specifies what groups are associated
 
16
with a particular member. This information is used to generate the
 
17
.B netgroup.byuser
 
18
and
 
19
.B netgroup.byhosts
 
20
NIS maps. These reverse netgroup maps are used to help speed up
 
21
netgroup lookups, particularly for the
 
22
.B innetgr
 
23
library function.
 
24
.PP
 
25
The
 
26
.B revnetgroup
 
27
command prints its results on the standard output. It is usually called
 
28
only by
 
29
.B /var/yp/Makefile
 
30
when rebuilding the NIS netgroup maps.
 
31
.SH OPTIONS
 
32
The
 
33
.B revnetgroup
 
34
command supports the following options:
 
35
.TP
 
36
.B \-u
 
37
Generate
 
38
.B netgroup.byuser
 
39
output; only username information in the
 
40
original netgroup file is processed.
 
41
.TP
 
42
.B \-h
 
43
Generate
 
44
.B netgroup.byhost
 
45
output; only hostname information in the
 
46
original netgroup file is processed. 
 
47
.TP
 
48
Note at least one of the both flags must be specified.
 
49
.SH FILES
 
50
.PD 0
 
51
.TP 20
 
52
.B /var/yp/Makefile
 
53
The Makefile to build the NIS databases
 
54
.TP
 
55
.B /etc/netgroup
 
56
the default netgroup database file. This file is most often found
 
57
only on the NIS master server
 
58
.PD
 
59
.SH "SEE ALSO"
 
60
.BR getnetgrent (3),
 
61
.BR netgroup (5),
 
62
.SH AUTHOR
 
63
.B revnetgroup
 
64
was written by Thorsten Kukuk <kukuk@suse.de>.