System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)

ProcedureHow to Update Maps Supplied With the Default Set

Use the following procedure for updating maps supplied with the default set.

  1. Become a superuser on the master server.

    Always modify NIS maps only on the master server.

  2. Edit the source file for the map you want to change, whether that file resides in /etc or in some other directory of your choice.

  3. Type the following.


    # cd /var/yp
    # make mapname
    

    The make command then updates your map according to the changes you made in its corresponding file. It also propagates the changes among the other servers.