SUMMARY: nfs exports using /etc/netgroup

From: George Kahler <george_at_yorku.ca>
Date: Thu Aug 07 2003 - 17:18:15 EDT
Thanks to David Foster, Jay Lessert and Ric Anderson.

There were couple of suggestions, both indication that I pretty well
have to run NIS/NIS+ in some form to be able to use the /etc/netgroup
facility.

Ric Anderson pointed me to a software written by John DiMarco at the
University of Toronto, called ngrfiles. A copy can be obtained from:
	   ftp://ftp.cs.toronto.edu/pub/jdd/ngrfiles/

You install John's ngrfiles, edit the "netgroup: " field in
/etc/nsswitch.conf, create the list of hosts you need to export to in
/etc/netgroups/ and way you go ! No need for that bothersome NIS
stuff. Pretty cool, John. Thanks.

George

Original post:

> My nfs /etc/dfs/dfstab file has grown to the point where sometimes it
> breaks the 'exportfs' or 'shareall' commands. Too many entries.
> 
> I would like to use the NIS/NIS+ /etc/netgroup file where I could list
> all the individual nfs clients I need to export to, however, to this
> date I can't figure out how to get the system to read it.
> 
> i don't run NIS on this nfs server but I would be willing to set up
> some minimum NIS configuration to get going with the NFS exporting if
> I had to.
> 
> Thanks for any help.
> George
> 
> 
> -------------------------------------------------------------------------------
> George Kahler                             e-mail:  george@yorku.ca          
> Sr. Systems Administrator                 humans:  (416) 736-2100 x.22699
> Computing and Network Services            machines:  (416) 736-5830
> Ontario, Canada, M3J-1P3
> _______________________________________________
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Aug 7 17:22:00 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:16 EST