Entry in /etc/exports File Assignment Help

Assignment Help: >> Network File System - Entry in /etc/exports File

Entries in /etc/exports file

This file holds a list of entries; every entry denotes a volume which is shared and how it is shared. An entry in /etc/exports will classically look like this:

directory machine1(option11,option12) machine2(option31,option32)

where

directory

It specifies the directory to be shared. All directories under it inside the same file system will be shared as well if an entire volume is shared. Machine1 and machine2.Specifies the client machines which will have access to the directory. The machines might be listed through their IP addresses or their DNS addresses (example for machine.company.com or 192.168.0.8). Using IP addresses is more reliable and more secure.

optionxx

The option listing for every machine will describe what kind of access in which machine will have. Extremely Important options are:

  • ro: Indicates that the directory is shared read only; the client machine will not be able to write to it. This is the default.
  • rw: Denotes that the client machine will have read and write access to the directory.

Let consider the following example

/home/abchost1 (rw) host2 (ro) host3 (ro)

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd