NFS Services Administrator's Guide (B.11.31.04) March 2009

Secure NFS Client Configuration with Kerberos...............................................38
Accessing Shared NFS Directories across a Firewall....................................................40
Sharing directories across a firewall without fixed port numbers (NFSv2 and
NFSv3)......................................................................................................................41
Sharing directories across a firewall using fixed port numbers in the nfs file........41
Sharing directories across a firewall using the NFSv4 protocol..............................42
Sharing directories across a firewall using the WebNFS Feature............................42
How WebNFS works..........................................................................................42
Configuring an NFS Server for use by a PC NFS client................................................44
Unsharing (Removing) a Shared Directory...................................................................45
Disabling the NFS Server .............................................................................................45
Configuring and Administering NFS Clients ....................................................................46
NFS Client Configuration Files and Daemons..............................................................46
Configuring the NFSv4 Client Protocol Version...........................................................47
Deciding Between Standard-Mounted Directories and Automounted Directories.....48
Enabling an NFS Client ................................................................................................48
Mounting Remote Directories ......................................................................................49
Mounting a Remote Directory on an NFS client......................................................49
Enabling Client-Side Failover........................................................................................50
Examples of NFS Mounts ........................................................................................51
Secure Mounting of Directories....................................................................................53
An Example for Securely Mounting a directory......................................................53
Changing the Default Mount Options..........................................................................53
Unmounting (Removing) a Mounted Directory...........................................................54
Disabling NFS Client Capability...................................................................................55
NFS Client and Server Transport Connections...................................................................55
Supporting 1MB Transfer for TCP mounts...................................................................55
Changes to the NFS Server Daemon.............................................................................57
Configuring and Using NFS Netgroups.............................................................................57
Creating Netgroups in the /etc/netgroup File........................................................57
Netgroup Examples.................................................................................................58
Using Netgroups in Configuration Files.......................................................................59
Using Netgroups in the /etc/dfs/dfstab File...................................................59
Using Netgroups in the /etc/hosts.equiv or $HOME/.rhosts File...............60
Using Netgroups in the /etc/passwd File............................................................60
Using Netgroups in the /etc/group File..............................................................61
Configuring RPC-based Services........................................................................................62
Enabling Other RPC Services........................................................................................62
Restricting Access to RPC-based Services.....................................................................63
Examples from /var/adm/inetd.sec.................................................................64
3 Configuring and Administering AutoFS.......................................................................................65
Overview............................................................................................................................65
4 Table of Contents