[opensuse] /etc/exports question
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? Thanks. Boris. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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: /home 1.2.3.0/255.255.255.0(ro,sync,root_squash,insecure) /home 5.6.7.0/255.255.255.0(ro,sync,root_squash,insecure) -- "It doesn't matter who votes, it matters who counts the votes" - Joe Stalin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Dave Howorth wrote:
Alternatively, have you tried reading the man page? :)
Hey, we are living in modern times! Manpages are an antique anachronism! SCNR, Pit PS: If your sarcasm detector didn't ring, adjust it. -- Dr. Peter "Pit" Suetterlin http://www.astro.su.se/~pit Institute for Solar Physics Tel.: +34 922 405 590 (Spain) P.Suetterlin@royac.iac.es +46 8 5537 8534 (Sweden) Peter.Suetterlin@astro.su.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday June 17 2009, Pit Suetterlin wrote:
Dave Howorth wrote:
Alternatively, have you tried reading the man page? :)
Hey, we are living in modern times! Manpages are an antique anachronism!
Duh. Everyone uses MindLink™ for documentation, now. Reading is for chumps!
SCNR,
Pit
RRS -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 16 Jun 2009, Boris Epstein wrote:
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?
Lifted from the example section of "man exports" <quote> # sample /etc/exports file / master(rw) trusty(rw,no_root_squash) </quote> HTH -- Arun Khan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Anton Aylward
-
Arun Khan
-
Boris Epstein
-
Dave Howorth
-
Pit Suetterlin
-
Randall R Schulz