Here's the README:
Jul 3, 1998
ngrfiles is a minimal netgroup name services switch backend for Solaris 2.x.
It doesn't parse the netgroup file itself; rather, the actual netgroup data
lives in the directory /etc/netgroups, and each netgroup is defined as a file
in that directory whose name is the name of the netgroup. The file contains
netgroup entries, one per line.
Name services switch backends are shared libraries of the form
nss_name.so.1, and are invoked in /etc/nsswitch.conf by specifying
"map: name". In this case, /usr/lib/nss_ngrfiles.so.1 is invoked by
specifying "netgroup: ngrfiles".
Unlike Sun's netgroup back ends, ngrfiles supports regular expressions in
netgroups for matching via innetgr. For example, you can match all hosts
ending in .domain.com with the single entry "?*domain.com,," This can be
quite useful.
To install, edit the Makefile, compile and "make install".
The latest version of ngrfiles is available at
ftp://ftp.cs.toronto.edu/pub/jdd/ngrfiles/
Comments and enhancements welcome.
John
--
John DiMarco <j...@cs.toronto.edu> Office: SF2101
CSLab Systems Manager Phone: 416-978-5300
University of Toronto Fax: 416-978-1931
http://www.cs.toronto.edu/~jdd