Networking Guide
Chapter 7, Configuring the Network Information Service (NIS)

Propagating maps

Propagating maps

When a new NIS map is created on the master server in an NIS domain, the new map must be propagated, or ``pushed'', to all NIS servers in that domain. NIS maps can be pushed to the servers with either the yppush(NADM) or the ypmake(NADM) command.

To create an NIS map on the master server and to push this map to all the servers in an NIS domain, follow these steps:

  1. Log in as root on the master server.

  2. Change to the /etc/yp directory.

  3. Enter:
       ypmake mapname
    
To only push a map's changes to the other NIS servers, without creating a new NIS map, use the yppush command as follows:

  1. Log in as root on the master server.

  2. Change to the /etc/yp directory.
       yppush mapname
    

See also: