Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual page 160

Table of Contents

Advertisement

Chapter 9. Network File Syste...
must be separated by space characters. Options for each of the hosts must be placed in
parentheses directly after the host identifier, without any spaces separating the host and the first
parenthesis.
A line for an exported file system has the following structure:
<export><host1>(<options>) <hostN>(<options>)...
In this structure, replace
host or network to which the export is being shared, and replace
that host or network. Additional hosts can be specified in a space separated list.
The following methods can be used to specify host names:
• single host — Where one particular host is specified with a fully qualified domain name,
hostname, or IP address.
• wildcards — Where a
domain names that match a particular string of letters. Wildcards should not be used with IP
addresses; however, it is possible for them to work accidentally if reverse DNS lookups fail.
Be careful when using wildcards with fully qualified domain names, as they tend to be more
exact than expected. For example, the use of
sales.example.com to access an exported file system, but not bob.sales.example.com. To
match both possibilities both
• IP networks — Allows the matching of hosts based on their IP addresses within a larger
network. For example,
192.168.0.15, to access the exported file system, but not 192.168.0.16 and higher.
• netgroups — Permits an NIS netgroup name, written as
effectively puts the NIS server in charge of access control for this exported file system, where
users can be added and removed from an NIS group without affecting
In its simplest form, the
permitted to access it, as in the following example:
/exported/directory bob.example.com
In the example,
bob.example.com
specified in this example, the following default NFS options take effect:
— Mounts of the exported file system are read-only. Remote hosts are not able to make
ro
changes to the data shared on the file system. To allow hosts to make changes to the file
system, the read/write (
136
with the directory being exported, replace
<export>
or
character is used to take into account a grouping of fully qualified
*
?
*.example.com
allows the first 16 IP addresses, from 192.168.0.0 to
192.168.0.0/28
file only specifies the exported directory and the hosts
/etc/exports
can mount
) option must be specified.
rw
<options>
as a wildcard allows
*.example.com
and
*.*.example.com
@<group-name>
/exported/directory/
with the
<host1>
with the options for
must be specified.
, to be used. This
.
/etc/exports
. Because no options are

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 4.5.0 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents