kim@uunet.uu.net (Kim Kempf) (04/19/89)
Has anyone ever set up a network using /etc/netgroup? The documentation
in TFM is rather vague on this. The only substantial reference to
netgroup is on page 326 of the Network and Comm. Admin manual which leads
me to believe that the intention was to have a correlation between
/etc/group and /etc/netgroup. Can someone give an example of how they
have used this. I'll summarize the responses I get. Thanks in advance.
Kim Kempf, Microware Systems Corporation {sun,uunet}!mcrware!kimmcgrew@topaz.rutgers.edu (Charles) (05/03/89)
Hi, Here's a sample from our (fairly extensive) netgroup file: allservers \ (aramis.rutgers.edu,-,) \ (athos.rutgers.edu,-,) \ (porthos.rutgers.edu,-,) \ (dartagnan.rutgers.edu,-,) \ (planchet.rutgers.edu,-,) \ (richelieu.rutgers.edu,-,) \ (constance.rutgers.edu,-,) \ (coda.rutgers.edu,-,) \ (darkstar.rutgers.edu,-,) \ allclients \ dartclients richclients \ (tailchaser.rutgers.edu,-,) \ (mezzo.rutgers.edu,-,)\ dartclients \ (wildcat.rutgers.edu,-,) \ (fokker.rutgers.edu,-,) \ (blackwidow.rutgers.edu,-,) \ (maestro.rutgers.edu,-,) \ (bearcat.rutgers.edu,-,) \ (profundo.rutgers.edu,-,) \ (fortress.rutgers.edu,-,) \ (charybdis.rutgers.edu,-,) \ (lightning.rutgers.edu,-,) \ (klaatu.rutgers.edu,-,) \ richclients \ (gort.rutgers.edu,-,) \ (zeno.rutgers.edu,-,) \ (thunderbolt.rutgers.edu,-,) \ (fender.rutgers.edu,-,) \ (spitfire.rutgers.edu,-,) \ (cobra.rutgers.edu,-,) \ (marcin.rutgers.edu,-,) \ (nash.rutgers.edu,-,) \ (lgs.rutgers.edu,-,) \ endoffile (-,-,-) ... as you see, not at all like /etc/group (which I had originally thought too). This example is grouping hosts for nfs mount permission. If you dig down, it turns out netgroups are just a way to group hosts, or groups, or users. Mostly this comes in handy (for us, anyway) for /etc/exports. Hope this helps, Charles
kim@uunet.uu.net (Kim Kempf) (05/03/89)
In article <996@mcrware.UUCP> mcrware!kim@uunet.uu.net (Kim Kempf) writes: >Has anyone ever set up a network using /etc/netgroup? The documentation >in TFM is rather vague on this. The only substantial reference to Thanks to all who responded to this question. If anyone is interested in the useful responses I got, drop me email and I'll send a summary. Kim Kempf, Microware Systems Corporation {sun,uunet}!mcrware!kim