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