Enhanced AutoFS Administrator's Guide
Configuring and Administering AutoFS
Automounting Home Directories
Chapter 3 27
6. To force AutoFS to reread the maps, issue the following command on
each NFS client that will use these AutoFS maps:
/usr/sbin/automount
Before you can automount home directories, you must enable AutoFS.
See “Enabling Enhanced AutoFS” on page 13.
Example of Automounting a User’s Home Directory
User Howard’s home directory is located on the 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:*:700:70:Howard:/home/howard:/usr/bin/ksh
When Howard logs on to any NFS client, AutoFS recognizes /home as an
AutoFS mount point because it is configured in the master map as
follows:
/home auto_home
AutoFS reads the auto_home map to determine how to mount Howard’s
home directory. It finds the following line:
howard basil:/export/home/& -nosuid
AutoFS substitutes howard with the ampersand (&) character in that
line:
howard basil:/export/home/howard -nosuid