🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #12412

Re: /etc/netgroup usage help

#12412
From: Charles
Date: Wed, 03 May 1989 06:11
53 lines
1849 bytes
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
Technical Details
Message-ID: <CMM.0.88.609022295.mcgrew@topaz.rutgers.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!husc6!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!husc6!rice!sun-spots-request
From: mcgrew@topaz.rutgers.edu (Charles)
Newsgroups: comp.sys.sun
Subject: Re: /etc/netgroup usage help
Keywords: Networks
Message-ID: <CMM.0.88.609022295.mcgrew@topaz.rutgers.edu>
Date: 3 May 89 06:11:47 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 53
Approved: Sun-Spots@rice.edu
Original-Date: Wed, 19 Apr 1989 16:51:35 EDT
X-Sun-Spots-Digest: Volume 7, Issue 262, message 1 of 14