<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Limiting Access to NFS mounts in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163793#M31970</link>
    <description>Remember that NFS uses tcpwrappers, and you can also use hosts.allow, hosts.deny files to limit access to NFS services.</description>
    <pubDate>Thu, 20 Mar 2008 02:52:36 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2008-03-20T02:52:36Z</dc:date>
    <item>
      <title>Limiting Access to NFS mounts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163789#M31966</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;I have set up the exporting of filesystems on a particular server. What I want to do now is limit the access to the filesystems to one system. The exports file that I have in place has the following syntax:&lt;BR /&gt;&lt;BR /&gt;/home/nohadani &lt;HOSTNAME&gt;(sync,rw,root_squash)&lt;BR /&gt;/media/disk/nohadani &lt;HOSTNAME&gt; (sync,rw,root_squash)&lt;BR /&gt;&lt;BR /&gt;The problem that I am having is I am able to mount the directories in question from a remote host other than the one specified in the exports file. What other configuration steps do I need in order to limit access to the NFS mounts exclusively to the host listed in exports? Thanks.&lt;/HOSTNAME&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Tue, 18 Mar 2008 15:44:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163789#M31966</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2008-03-18T15:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting Access to NFS mounts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163790#M31967</link>
      <description>You need to re-export the exports file:&lt;BR /&gt;&lt;BR /&gt;exportfs -ra</description>
      <pubDate>Tue, 18 Mar 2008 20:28:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163790#M31967</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2008-03-18T20:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting Access to NFS mounts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163791#M31968</link>
      <description>Hi Andrew,&lt;BR /&gt;&lt;BR /&gt;Another thing to check is to make sure there is no space between the hostname and the open parenthesis.  In other words, some Linux variants treat this string:&lt;BR /&gt;&lt;BR /&gt;/media/disk/nohadani &lt;HOST&gt; (sync,rw,root_squash)&lt;BR /&gt;&lt;BR /&gt;differently from:&lt;BR /&gt;&lt;BR /&gt;/media/disk/nohadani &lt;HOST&gt;(sync,rw,root_squash)&lt;BR /&gt;&lt;BR /&gt;Note the blank space between &lt;HOST&gt; and '('.  Once you have the /etc/exports syntax correct, be sure to issue the "exportfs -av" command as previously suggested.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;/HOST&gt;&lt;/HOST&gt;&lt;/HOST&gt;</description>
      <pubDate>Wed, 19 Mar 2008 14:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163791#M31968</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2008-03-19T14:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting Access to NFS mounts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163792#M31969</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;Thanks for the help. When I ran the exportfs -rav command, the output indicated the hostname was not recognized. Most likely this is due to some DNS error. &lt;BR /&gt;&lt;BR /&gt;To expedite matters, I replaced the hostname with the ip address of the system in question, and reran the exportfs -rav command again. There were no errors in the output, and a subsequent test on a remote system other than the one  in question resulted in a permission denied message, which is what was supposed to happen. &lt;BR /&gt;&lt;BR /&gt;Thanks again for the help.</description>
      <pubDate>Wed, 19 Mar 2008 16:00:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163792#M31969</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2008-03-19T16:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting Access to NFS mounts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163793#M31970</link>
      <description>Remember that NFS uses tcpwrappers, and you can also use hosts.allow, hosts.deny files to limit access to NFS services.</description>
      <pubDate>Thu, 20 Mar 2008 02:52:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163793#M31970</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-03-20T02:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting Access to NFS mounts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163794#M31971</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;I need to edit the original message. Is there a way I can do so? Thanks.&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Apr 2009 15:09:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163794#M31971</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2009-04-02T15:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting Access to NFS mounts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163795#M31972</link>
      <description>&amp;gt;I need to edit the original message. Is there a way I can do so?&lt;BR /&gt;&lt;BR /&gt;No.  If there is a security/privacy issue because you have that in your text, you could ask the moderators to remove it.  But not for some simple typos.  You can just correct it in a reply.&lt;BR /&gt;&lt;BR /&gt;For moderator requests, there is a monthly thread in: Your questions regarding ITRC Forums &amp;gt; general: March/April 2009 Issues Requiring Moderator Intervention&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1318758" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1318758&lt;/A&gt;</description>
      <pubDate>Fri, 03 Apr 2009 23:34:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/limiting-access-to-nfs-mounts/m-p/4163795#M31972</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-03T23:34:19Z</dc:date>
    </item>
  </channel>
</rss>

