Networking Guide
Chapter 13, Configuring the NFS automounter

Distributing home directories with automount

Distributing home directories with automount

In order for users to have home directories distributed across an NIS environment, the NIS maps must contain users' home directories in the form:

/dir/server/username

To do this:

  1. To use a local auto.home map, edit the /etc/auto.master file to contain an entry like:
       +/etc/auto.home
    
    The ``/'' indicates to automount to read a local map instead of an NIS map. This allows users to set local options and override any default NIS options.

    Or, use the NIS auto.home map by making the following entry in the file /etc/auto.master:

       +auto.home
    

  2. On the master server, change (using cd) to the directory /etc/yp and type:
       ypmake auto.home
    

  3. Edit the /etc/nfs file to remove the -m option.

  4. Reboot to restart automount.

See also: