tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* exporting to a netgroup
@ 1995-10-15 16:41 Dave Wolinski, University of Michigan
  0 siblings, 0 replies; only message in thread
From: Dave Wolinski, University of Michigan @ 1995-10-15 16:41 UTC (permalink / raw)
  To: tru64-unix-managers

I would like to export a filesystem to a group of local hosts.  Instead of
listing all the hosts explicitly in the /etc/exports file, I have tried to
export to a netgroup containing all these hosts, without success.
Can anyone explain the following strange behavior:

% cat /etc/exports
.
.
export_dir -access=host1:host2:host3...

Then any of the listed hosts (and no others) can mount export_dir.

If, however, I define a netgroup:

% cat /etc/netgroup
.
.
hosts (host1,,) (host2,,) (host3,,) 

and export to:
% cat /etc/exports
.
.
export_dir -access=hosts

And then re-push the NIS maps, none of the hosts above can mount export_dir.
Instead you get "Can't access export_dir: Permission denied."
Even more bizarre: if you define a "universal" netgroup:
% cat /etc/netgroup
.
.
universal (,,)

and then export to "universal", still, no hosts can mount export_dir!!!

The only way the I have been able to grant mount access to a group of hosts
has been to explicitly list the host names in etc/exports.

Has anyone been able to export to a NIS netgroup with success?

-Dave Wolinski      wolinski@umich.edu
 University of Michigan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-10-15 16:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-15 16:41 exporting to a netgroup Dave Wolinski, University of Michigan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox