HP-UX Reference (11i v1 00/12) - 4 File Formats (vol 8)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man4/!!!intro.4
________________________________________________________________
___ ___
e
exports(4) exports(4)
"hosts" entry, any hostname must be represented as a fully qualified DNS name.
Currently HP-UX will allow a match for a non-fully qualified hostname; this HP-
only feature will be obsoleted in a later release of HP-UX.
netgroup
A netgroup contains a number of hostnames. With a server configured for DNS
naming in the nsswitch "hosts" entry, any hostname in a netgroup must be
represented as a fully qualified DNS name.
DNS suffix
To use domain membership the server must use DNS to resolve hostnames to IP
addresses; that is, the "hosts" entry in the /etc/nsswitch.conf must
specify "dns" ahead of "nis" or "nisplus", since only DNS returns the full domain
name of the host. Other name services like NIS or NIS+ cannot be used to
resolve hostnames on the server, because when mapping an IP address to a host-
name, they do not return domain information. For example,
NIS or NIS+
129.144.45.9 --> "myhost"
DNS
129.144.45.9 --> "myhost.myd.myc.com"
The DNS suffix is distinguished from hostnames and netgroups by a prefixed dot.
A dot by itself will match "myhost" but not "myhost.myd.mycy.com". This single
dot feature can be used to match hosts resolved from NIS and NIS+ rather than
DNS.
network
The network or subnet component is preceded by an at-sign (@). It can be either
a name or a dotted address. If a name, it will be converted to a dotted address
by getnetbyname (see getnetent(3N)). Entries in /etc/networks
must
contain all four octets in order to be valid.
The network prefix assumes an octet aligned netmask determined from the zero
octets in the low order part of the address. In the case where network prefixes
are not byte-aligned, the syntax will allow a mask length to be specified explicitly
following a slash (/) delimiter. Where the mask is the number of leftmost con-
tiguous significant bits in the corresponding IP address.
- A prefixed minus sign (-) denies access to that component of access_list. The list
is searched sequentially until a match is found that either grants or denies
access, or until the end of the list is reached. This option is valid only in conjunc-
tion with hostname, network and DNS Suffix. If prefixing a hostname and you
are configured for DNS naming, you must fully qualify the hostname.
async Specifying async increases write performance on the NFS server by causing asynchronous
writes on the NFS server. The async option can be specified anywhere on the command
line after directory. Before using this option, refer to WARNINGS below.
# A # character anywhere in the file indicates a comment that extends to the end of the line.
A directory name with no accompanying name list allows any machine to mount the given directory.
/etc/exports contains a list of file systems and the access_lists or machine names allowed to
remotely mount each file system. The file system names are left-justified and followed by a list of names
separated by white space. A file system name with no accompanying name list means the le system is
availableto everyone.
A # anywhere in the file indicates a comment extending to the end of that line.
EXAMPLES
/usr/games cocoa fudge # export to only these machines
/usr -access=clients # export to my clients
/usr/local # export to the world
/usr2 -access=bison:deer:pup # export to only these machines
/var/adm -root=bison:deer # give root access only to these
/usr/new -anon=0 # give all machines root access
Section 452 2 HP-UX Release 11i: December 2000
___
___