icon Top 9 categories map      RocketAware > man pages >

revnetgroup(8)

Tips: Browse or Search all pages for efficient awareness of more than 6000 of the most popular reusable and open source applications, functions, libraries, and FAQs.


The "RKT couplings" below include links to source code, updates, additional information, advice, FAQs, and overviews.


Home

Search all pages


Subjects

By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Math
Integer, Floating point, Matrix, Statistics, Boolean, ...

Processing
Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Communications
Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...

    

RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD Others



REVNETGROUP(8)          OpenBSD System Manager's Manual         REVNETGROUP(8)

NAME
     revnetgroup - generate reverse netgroup data



SYNOPSIS
     revnetgroup -u -h [-f netgroup_file]

DESCRIPTION
     revnetgroup processes the contents of a file in netgroup(5) format into
     what is called reverse netgroup form. That is, where the original file
     shows netgroup memberships in terms of which members reside in a particu-
     lar group, the reverse netgroup format specifies what groups are associ-
     ated with a particular member. This information is used to generate the
     netgroup.byuser and netgroup.byhosts YP maps. These reverse netgroup maps
     are used to help speed up netgroup lookups, particularly for the
     innetgr() library function.

     For example, the standard /etc/netgroup file may list a netgroup and a
     list of its members. Here, the netgroup is considered the key and the
     member names are the data. By contrast, the reverse netgroup.byusers
     database lists each unique member as the key and the netgroups to which
     the members belong become the data. Seperate databases are created to
     hold information pertaining to users and hosts; this allows netgroup
     username lookups and netgroup hostname lookups to be performed using in-
     dependent keyspaces.

     By constructing these reverse netgroup databases (and the corresponding
     YP maps) in advance, the getnetgrent(3) library functions are spared from
     having to work out the dependencies themselves on the fly. This is impor-
     tant on networks with large numbers of users and hosts, since it can take
     a considerable amount of time to process very large netgroup databases.

     The revnetgroup command prints its results on the standard output. It is
     usually called only by /var/yp/<domain>/Makefile when rebuilding the YP
     netgroup maps.

OPTIONS
     The revnetgroup command supports the following options:

     -u    Generate netgroup.byuser output; only username information in the
           original netgroup file is processed.

     -h    Generate netgroup.byhost output; only hostname information in the
           original netgroup file is processed. (Note at least one of the -u
           or -h flags must be specified.)

     [-f netgroup_file]
           The revnetgroup command uses /etc/netgroup as its default input
           file. The -f flag allows the user to specify an alternate input
           file. Specifying ``-'' as the input file causes revnetgroup to read
           from the standard input.

FILES
     /var/yp/<domain>Makefile          The Makefile that calls makedbm and
                                       revnetgroup to build the YP databases.
     /etc/netgroup                     The default netgroup database file.
                                       This file is most often found only on
                                       the YP master server.

SEE ALSO
     getnetgrent(3),  yp(8),  netgroup(5),  makedbm(8)

AUTHOR
     Bill Paul <wpaul@ctr.columbia.edu>


Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.



(Corrections, notes, and links courtesy of RocketAware.com)


[Detailed Topics]
FreeBSD Sources for revnetgroup(8)
OpenBSD sources for revnetgroup(8)


[Overview Topics]

Up to: Host, service name, and address operations - Methods and functions for doing address, host, user, and service name lookups (DNS). also Internet Assigned Numbers


RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD Others






Rapid-Links: Search | About | Comments | Submit Path: RocketAware > man pages > revnetgroup.8/
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments