NFS Services Administrator's Guide
Configuring and Administering NFS
Configuring and Administering AutoFS
Chapter 2 117
cd /var/yp
/usr/ccs/bin/make auto_master
6. Issue the following command, on each NFS client that will use these
automounter maps, to force AutoFS to reread the maps:
/usr/sbin/automount
Before you can automount home directories, you must enable AutoFS.
See “To Enable the NFS Automounter” on page 89.
Example of Automounting a User’s Home Directory
User Howard’s home directory is located on NFS server basil, where it
is called /export/home/howard. On all the machines in the network,
Howard has the following entry in the /etc/passwd file:
howard:MILQ3N1tBHXhM:828:Howard:/home/howard:/bin/ksh
When Howard logs into any NFS client, AutoFS recognizes /home as an
AutoFS mount point, because it is configured in the master map:
/home auto_home
AutoFS reads the auto_home map to find out how to mount Howard’s
home directory. It finds the following line:
howard basil:/export/home/& -nosuid
AutoFS substitutes howard for the ampersand (&) character in that line:
howard basil:/export/home/howard -nosuid