Find the answer to your Linux question:
Results 1 to 4 of 4
Hi Everybody, If there is a general NFS share in the LAN and for example this share has three files - a, b, c is there any way to restrict ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    6

    Restrict NFS access to root

    Hi Everybody,

    If there is a general NFS share in the LAN and for example this share has three files - a, b, c is there any way to restrict file access to the root user of one particular host(falcon) in the same LAN environment while the normal users from the same host(falcon) should be able to access the NFS share & files a, b, c.

    Thanks in advance

  2. #2
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    855
    Normally local root does not have root rights on remote NFS volumes, unless specified in exports file of that remote host.
    Anyway, since root can su to any user any time denying access from root account does not make much sense.
    What makes sense is restricting root access on all computers in your network.

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Posts
    6
    Hi,

    Thanks for the help, I would like to know more about the other option also. As you pointed out unless specified in exports file on the remote host local root doesn't have root right on remote NFS volumes, would like to know how is root given right by specifying in the exports file ?

  4. #4
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    855
    This and many more questions are answered in man exports in remote host.
    For Linux the option is root_squash, for BSD it is maproot, etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...