Mailinglist Archive: opensuse (1473 mails)

< Previous Next >
Re: [opensuse] /etc/exports question
  • From: Dave Howorth <dhoworth@xxxxxxxxxxxxxxxxx>
  • Date: Tue, 16 Jun 2009 09:52:11 +0100
  • Message-id: <4A375D3B.5070609@xxxxxxxxxxxxxxxxx>
Anton Aylward wrote:
Boris Epstein said the following on 06/15/2009 03:55 PM:
Hey everyone,

Sorry to bother you with this silliness but since I can't seem to find
an answer anywhere...

Is there a way to specify more than one network for the same exported
NFS share in the exports file. For instance, if I want the network
1.2.3.0/255.255.255.0 to be able to access /home it I need to put a
line that looks like this:

/home 1.2.3.0/255.255.255.0(ro,sync,root_squash,insecure)

What if I also want hosts on 5.6.7.0/255.255.255.0 to be able to
access that share?

Have you tried using two lines:

Alternatively, have you tried reading the man page? :)

"Each line contains an export point and a whitespace-separated list of
clients". Just putting it all on one line works. As does creating a
netgroup.

Cheers, Dave
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups