Manual page for EXPORTS(5)
exports, xtab - directories to export to NFS clients
file contains entries for directories that can be exported to
clients. This file is read automatically by the
command. If you change this file, you must run
for the changes to affect the daemon's operation.
Only when this file is present at boot time does the
and start the
file contains entries for directories that are
exported. This file should only be accessed by programs using
to remove entries from this file.
An entry for a directory consists of a line of the following form:
directory -option[,option ]...
is the pathname of a directory (or file).
is one of the following:
Export the directory read-only.
If not specified, the directory is exported read-write.
Export the directory read-mostly.
Read-mostly means read-only to most
machines, but read-write to those specified.
If not specified, the directory is
exported read-write to all.
If a request comes from an unknown user, use
as the effective user
Note: root users (uid 0) are always
considered ``unknown'' by the
server, unless they are included in
the ``root'' option below.
The default value for this option is the
of the user ``nobody''.
If the user ``nobody'' does not exist then the value 65534 is used.
Setting the value of ``anon'' to 65535 disables anonymous access.
Note: by default secure
accepts insecure requests as anonymous,
and those wishing for extra security can
disable this feature by setting ``anon'' to 65534.
Give root access only to the root users from a specified
The default is for no hosts to be granted root access.
Give mount access to each
can either be a hostname, or a netgroup (see
in the list is first checked for in the
database, and then the
The default value allows any
machine to mount the given directory.
Require clients to use a more secure protocol when
accessing the directory.
anywhere in the file indicates a comment that extends to the end of the
/usr -access=clients # export to my clients
/usr/local # export to the world
/usr2 -access=hermes:zip:tutorial # export to only these machines
/usr/sun -root=hermes:zip # give root access only to these
/usr/new -anon=0 # give all machines root access
/usr/bin -ro # export read-only to everyone
/usr/stuff -access=zip,anon=-3,ro # several options on one line
You cannot export either a parent directory or a subdirectory
of an exported directory that is
within the same filesystem.
It would be illegal, for instance, to export both
if both directories resided on the same
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97