NFS Services Administrator's Guide

Configuring and Administering NFS
Configuring and Administering the NFS Automounter
Chapter 284
If you are using NIS+ to manage your automounter maps, issue the
following command to add an entry to the auto_home table:
nistbladm -a key=”*” value=”&/home/& -nosuid” \
auto_home.org_dir
5. If you are using local files for your automounter maps, add the
following line to the automounter master map (usually called
/etc/auto_master) on the NFS clients:
/home /etc/auto_home
If you are using NIS to manage your automounter maps, add the
following line to the /etc/auto_master file on the NIS master
server:
/home auto.home
If you are using NIS+ to manage your automounter maps, issue the
following command to add an entry to the NIS+ auto_master table:
nistbladm -a key=”/home” value=”auto_home”
auto_master.org_dir
6. If you are using NIS to manage your automounter maps, issue the
following commands on the NIS master server to rebuild the maps
and push them to slave servers:
cd /var/yp
/usr/ccs/bin/make auto.master
The changes you have made will not take effect until you enable or
restart the automounter. See To Enable the NFS Automounter” on
page 89 or “To Restart the Automounter” on page 92.
Example of Automounting a User’s Home Directory
User Howards home directory is located on NFS server basil, where it
is called /home/basil/howard. On all the machines in the network,
Howard has the following entry in the /etc/passwd file:
howard:MILQ3N1tBHXhM:828:Howard:/home/basil/howard:/bin/ksh
When Howard logs into any NFS client, the automounter recognizes
/home as an automounter mount point, because it is configured in the
master map:
/home auto_home