[comp.sys.sun] How do you know clients for /etc/exports?

gld@cunixd.cc.columbia.edu (Gary L Dare) (09/28/89)

When you set up the server to provide clients with access to certain
directories, you have the following line in /etc/exports:

	/vlsi	access=clients

but we found that it doesn't work!  We have to state:

	/vlsi	-access=vlsi4

(i.e., vlsi4 is a specific machine; note the "-" required.)

Now, this limits us to only allowing a single client access to the
directory /vlsi !  Is there some kind of client file for a server, which
the manual has forgot to tell us about?

Gary L. Dare				"No matter where you go,
> gld@cunixd.cc.columbia.EDU 		 there you are!
> gld@cunixc.BITNET				-- Buckaroo Banzai

dupuy@cs.columbia.edu (09/30/89)

> ... you have the following line in /etc/exports:
> 	   /vlsi	access=clients
> but we found that it doesn't work!  We have to state:
> 	   /vlsi	-access=vlsi4
> (i.e., vlsi4 is a specific machine; note the "-" required.)

You do need the -, but "/vlsi -access=clients" will work, _iff_ clients is
a netgroup defined in the yellow pages (and you have to be running yellow
pages for this to work).  See  netgroup(5) for details.

@alex

inet: dupuy@cs.columbia.edu
uucp: ...!rutgers!cs.columbia.edu!dupuy