NDVR2200F
Installation Guide & User’s
1/8/2008
24/66
Use vi editor to add the following text in the /etc/exports file.
The meaning of the text above is as follows.
The directory /nfs is to be shared through NFS and the host 192.168.10.0/24 can read and write
this /nfs directory without an authentication.
[192.168.10.x IP address ranges are all allowed]
Among parameters, rw and insecure have something to do with the authority to read and write a
file.
rw: r means read is allowed while
w means write is allowed
insecure: this means that authentication is not needed
[Note]
/nfs 192.168.10.0/24 (rw, insecure) means 192.168.10.x IP address range is all shared. Do the
following if you want to make your system information not exposed to the others or accessible
by specific host only.
Once done as above, only host 192.168.10.200 and 192.168.10.155 are allowed to read and
write without authentication.
Option
Description
ro
Mounted to support read only
Rw
Mounted to support read and write
no_root_squash
Mounted to access the file system as root
root_squash
Once an access is made in the capacity of root, the file system
allows such access by converting it into anonymous uid/gid.
noaccess
Access to the directory not allowed. Useful when limiting access to
specific subdirectory of a shared directory.
insecure
No authentication is needed.
/nfs localhost(rw,insecure)
/nfs 192.168.10.0/24(rw,insecure)