NFS Services Administrator's Guide (B.11.31.03) August 2008
In earlier versions of HP-UX, the exportfs command was used to export directories
and files to other systems over a network. Users and programs accessed the exported
files on remote systems as if they were part of the local filesystem. NFS disabled the
system from exporting directories by using the -u option of the exportfs command.
For information on how to share directories with the NFS clients, see “Sharing
Directories with NFS Clients” (page 30). For information on how to unshare directories,
see “Unsharing (Removing) a Shared Directory” (page 46).
Following are the new share features that NFS supports:
• Secure sharing of directories
Starting with HP-UX 11i v3, NFS enables you to share directories in a secure
manner. If you have configured a security mechanism on your system, the share
command enables you to specify the security mechanism under which the
filesystem is shared. For example, if you have installed and configured the Kerberos
Security product, you can specify krb5 as the security mechanism to be used when
you share a filesystem.
For information on how to use the share command to share directories securely,
see “Secure Sharing of Directories ” (page 35).
• Sharing directories across a firewall
Starting with HP-UX 11i v3, NFS enables you to share directories easily across a
firewall. HP recommends that you share directories across a firewall in one of the
following ways:
— Using random ports (NFSv2 and NFSv3)
For information on how to share directories across a firewall using random
ports, see “Sharing directories across a firewall without fixed port numbers
(NFSv2 and NFSv3)” (page 42).
— Using the /etc/default/nfs file
For information on how to share directories across a firewall using the /etc/
default/nfs file, see “Sharing directories across a firewall using fixed port
numbers in the nfs file” (page 43).
— Using the NFSv4 protocol
For information on how to share directories across a firewall using the NFSv4
protocol, see “Sharing directories across a firewall using the NFSv4 protocol”
(page 44).
— Using the WebNFS feature
For information on how to share directories across a firewall using the WebNFS
feature, see “Sharing directories across a firewall using the WebNFS Feature”
(page 44).
20 Introduction