🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #13007

use of netgroups in /etc/exports under 4.0.1

#13007
From: ekrell
Date: Tue, 16 May 1989 20:04
18 lines
1071 bytes
I've been trying to use the netgroup facility in /etc/exports to avoid
repeating the same host names over and over. What I have is a file server
(4/280 running 4.0.1) who is exporting all its file systems to all the
desktops we have.

I tried changing /etc/exports to read

/	-access=foo,...
/usr	-access=foo,...
...

where "foo" is a netgroup. As soon as I tried "exportfs -a", I got an
"unknown host foo" error message.  Is the man page wrong or am I missing
something?

PS: I propagated the new netgroup YP map before running exportfs.

[[ What does your netgroup file look like?  --wnl ]]
Technical Details
Message-ID: <8905162004.AA03277@hector.homer.nj.att.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: ekrell@ulysses.att.com
Newsgroups: comp.sys.sun
Subject: use of netgroups in /etc/exports under 4.0.1
Keywords: SunOS
Message-ID: <8905162004.AA03277@hector.homer.nj.att.com>
Date: 16 May 89 20:04:30 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 18
Approved: Sun-Spots@rice.edu
X-Sun-Spots-Digest: Volume 7, Issue 299, message 13 of 13