NFS Services Administrator's Guide
Configuring and Administering NFS
Configuring and Administering the NFS Automounter
Chapter 282
5. Create a symbolic link from each user’s home directory as it is
configured in /etc/passwd (for example, /home/sage/claire) to
local_parent_directory/username, where
local_parent_directory is the local mount point you configured in
the automounter master map, as in the following example:
ln -s /homes/claire /home/sage/claire
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.
The -passwd map is a built-in automounter map that you do not have to
create. It uses the /etc/passwd file, the NIS passwd map, or the NIS+
passwd table to find a user’s home system and then mounts the user’s
home directory under the configured mount point when the user logs in.
Figure 2-9 illustrates a configuration using the -passwd map.
Figure 2-9 Home Directories Automounted with -passwd Map
NFS server "sage"
NFS client "thyme"
NFS server "basil"
/
/home
/sage
/annalee /claire
/
/home
/basil
/mark/alex
/
/home
/sage
/claire
/mark
/basil
/mark /claire
.kshrc /mydocs
.kshrc /mydocs
.cshrc /Mail
.cshrc /Mail
/homes
NFS mounts symbolic links