Dell 740N Laptop User Manual


 
6-4 Dell PowerVault 720N, 740N, and 760N System Administrator and Command Reference Guide
([DPSOH
The following lines show exports that the filer allows:
/vol/vol0 -access=adminhost,-root=adminhost
/vol/vol0/home -access=blender:mixer
1RQH[DPSOH
The following lines show exports that are not allowed on some UNIX systems:
/home -root=adminhost,-access=blender:mixer
/home/local -root=adminhost,-access=blender:mixer
)LOHU'HWHUPLQHV3HUPLVVLRQVE\0DWFKLQJ/RQJHVW3UHIL[
The filer uses the longest matching prefix in determining permissions.
In the preceding example
A client mounting
/vol/vol0/home/user1
gets permissions for
/vol/vol0/home
because
/vol/vol0/home
is the longest matching prefix.
A client mounting
/vol/vol0
gets
-access=adminhost, -root=adminhost
permissions.
NOTE: Because of the way the filer determines permissions, it makes little sense to
give a client greater permissions at a higher level in the file system.
([DPSOH
The following lines show an
/etc/exports
file that creates a security breech by enabling
any host to mount the
/vol/vol0
directory while restricting specific hosts to mounting
the
/vol/vol0/home
directory. In this example, any host can gain access to the
/vol/
vol0/home
directory by mounting the
/vol/vol0
directory:
/vol/vol0
/vol/vol0/home -access=red:blue:green
(GLWHWFH[SRUWV$IWHU&KDQJLQJ9ROXPH1DPHV
If you rename a volume using the
vol rename
command
Entries in the
/etc/exports
file that refer to the volume become incorrect.
The in-memory information about active exports gets updated automatically, and
clients continue to access the exports without problems.
The filer displays an error message when the
exportfs -a
command is
entered, or when the filer is rebooted.
Clients display the error message, Stale NFS file handle, after the filer is
rebooted.