REVNETGROUP(8) NIS Reference Manual REVNETGROUP(8)NAME
revnetgroup - generate reverse netgroup data
SYNOPSIS
/usr/lib/yp/revnetgroup [-u | -h]
DESCRIPTION
Revnetgroup processes the standard input 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 particular group, the reverse netgroup format specifies what groups are
associated with a particular member. This information is used to generate the netgroup.byuser and netgroup.byhosts NIS maps. These reverse
netgroup maps are used to help speed up netgroup lookups, particularly for the innetgr() library function.
The revnetgroup command prints its results on the standard output. It is usually called only by /var/yp/Makefile when rebuilding the NIS
netgroup maps.
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.
FILES
/var/yp/Makefile
The Makefile to build the NIS databases.
/etc/netgroup
The default netgroup database file. This file is most often found only on the NIS master server.
SEE ALSO getnetgrent(3), netgroup(5),
AUTHOR
revnetgroup was written by Thorsten Kukuk <kukuk@linux-nis.org>.
NIS Reference Manual 09/26/2007 REVNETGROUP(8)
Check Out this Related Man Page
REVNETGROUP(8) Reference Manual REVNETGROUP(8)NAME
revnetgroup - generate reverse netgroup data
SYNOPSIS
/usr/lib/yp/revnetgroup [-u|-h]
DESCRIPTION
Revnetgroup processes the standard input 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 particular group, the reverse netgroup format specifies what groups are
associated with a particular member. This information is used to generate the netgroup.byuser and netgroup.byhosts NIS maps. These reverse
netgroup maps are used to help speed up netgroup lookups, particularly for the innetgr library function.
The revnetgroup command prints its results on the standard output. It is usually called only by /var/yp/Makefile when rebuilding the NIS
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 both flags must be specified.
FILES
/var/yp/Makefile The Makefile to build the NIS databases
/etc/netgroup the default netgroup database file. This file is most often found only on the NIS master server
SEE ALSO getnetgrent(3), netgroup(5),
AUTHOR
revnetgroup was written by Thorsten Kukuk <kukuk@suse.de>.
YP Server August 2001 REVNETGROUP(8)
Hi@all,
I'd setup a nis server and 4 slaves. Update of passwd work's fine, but if i create a netgroup file the make all process hang by push the netgroup file.
I work with AIX 4.3.3.0 and Maintance Level 5.
Tank's for help (1 Reply)
Write a quick shell snippet to find all of the IPV4 IP addresses
in any and all of the files under /var/lib/output/*, ignoring
whatever else may be in those files. Perform a reverse lookup on
each, and format the output neatly, like "IP=192.168.0.1,
... (0 Replies)
Hi
When i run the make command for nis i got the following message
/usr/sbin/mknetid: 1831-503 USERNAME groups exceed 32
I tried to use the netgroup map but it doesn't work - Maybe i use it wrongly
Any help please (0 Replies)
hi,
I have to reverse the command output like below:
output:
online
offline
disable
maintening
killed
How to reverse this output like:
killed
maintening
disable
offline
online
It should be ksh script. (4 Replies)
I'm running a NIS on an network of Ubuntu 8.04 linux systems. I'm seeing a weird problem where the 'id' command is not returning all the groups I am a member of. For example:
alex@client $ id -Gn
localgroupA localgroupB nisgroup1 nisgroup2 nisgroup4
alex@client $ id -Gn alex
nisgroup1... (0 Replies)
We have netgroup in ldap in Sun java directory server, how can I add or remove a user to/from a netgroup via command line without using ldif file? I need to put this into a script.
Here is a sample netgroup, and I want to add user tonyz to it:
# ldapsearch -h ldapserver.com -p 389 -b ... (1 Reply)
Hi there,
I am trying to set a ulimit max in the /etc/security/limits.conf against a NIS netgroup (which contains a whole bunch of users) instead of a local user or group.
so I have a NIS netgroup called +@myusers , none of whose users are defined locally on the box. I want to ensure that... (2 Replies)
Hi there,
I have an output from a command like this
# ypcat -k netgroup.byuser| grep steven
steven.* users_main,users_sysadmin,users_global,users_backup_team
and wanted to pull the 'users' netgroups returned into a perl array, that will look like this
users_main... (2 Replies)
Hi all,
I have a file named file1as
07/25 00:10 d327490
07/25 00:55 d378299
07/25 03:58 d378299
07/25 06:14 d642035
07/25 12:44 c997126
and now i want to reverse the first filed ie 07/25 as
25/07 00:10 d327490
25/07 00:55 d378299
25/07 03:58 d378299
25/07 06:14 d642035
25/07... (5 Replies)
I'm considering the merits of slightly redefining the "domain" field in a NIS netgroup (the third field in the triple) to make it more useful, in a new Internet Draft that I am currently developing. Does anyone out there who uses NIS actually make use of the "domain" field? The places I've worked... (8 Replies)
Hi there,
I have, in my application, one Makefile that generates a .a file. I would like to generate .a and binary executable in the same Makefile. This is possible?
Thank you! (2 Replies)
Hi, How to pull netgroup from all servers
I think the netgroup resides in /etc/security/access.conf so I want to know how to get the list of netgroup in all the servers.
I have a jump server I can run the script from there to get the list but not sure how to do the script. Any ideas or... (1 Reply)