* <<Need help with Ultrix netgroup>>
@ 1992-03-20 18:06 sys_somogyi
1992-03-21 0:14 ` Chris Metcalf
0 siblings, 1 reply; 2+ messages in thread
From: sys_somogyi @ 1992-03-20 18:06 UTC (permalink / raw)
I'm having trouble getting netgroup via yellow pages to work for use in
exporting filesystems. Is there something that I'm overlooking??
The following was done on a DECsystem 5500 w/ Ultrix 4.2:
In the yellow pages netgroup file I enter:
group (host1,,),(host2,,)
I also tried -> group (host1,,) (host2,,)
(then I make netgroup)
In the exports file I enter:
/filesystem [options] group
in /etc/svc.conf I enter:
netgroup=local,yp
the local /etc/netgroup file is empty
When I try to nfs mount from a host in the netgroup, I get permission denied.
I can nfs mount successfully if I don't use the netgroup name in /etc/exports,
but instead use the actual name(s) of the remote systems.
Is there some special character which must precede the netgroup name in the
exports file indicating that it is a netgroup perhaps??
Any and all help is appreciated.
somogyi@sscvx1.ssc.gov
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: <<Need help with Ultrix netgroup>>
1992-03-20 18:06 <<Need help with Ultrix netgroup>> sys_somogyi
@ 1992-03-21 0:14 ` Chris Metcalf
0 siblings, 0 replies; 2+ messages in thread
From: Chris Metcalf @ 1992-03-21 0:14 UTC (permalink / raw)
In article <1992Mar20.120655.1@sscvx1.ssc.gov> sys_somogyi@sscvx1.ssc.gov says:
>I'm having trouble getting netgroup via yellow pages to work for use in
>exporting filesystems. Is there something that I'm overlooking??
I beat my head against this for a considerable length of time until I
tried using fully-qualified host names in the netgroup. Apparently
exports can handle unqualified names in exports, but not netgroup.
Yes, this is brain-damaged.
I should qualify my solution by saying that we have a local /etc/hosts
which we read ahead of DNS, and we list the fully-qualified names of
all of our local hosts in it. The general solution is probably just
to use the canonical host name, whatever it is, in the netgroup file.
(By the way, the netgroup format has spaces between tuples, not commas,
so the "group (host1,,) (host2,,)" format is what you should be using.
You also should just use "netgroup=yp", since netgroup only works over
YP anyway; see "man svc.conf".)
--
Chris Metcalf, MIT Laboratory for Computer Science
metcalf@lcs.mit.edu // +1 (617) 253-7766
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1992-03-21 0:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-03-20 18:06 <<Need help with Ultrix netgroup>> sys_somogyi
1992-03-21 0:14 ` Chris Metcalf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox