ypmake Rebuild NIS Database

Synopsis

cd /var/yp ; make [map]

Description

The file called Makefile in /var/yp is used by make(1) to build the Network Information Service (NIS) database. With no arguments, make creates dbm databases for any NIS maps that are out-of-date and then executes yppush(1M) to notify slave databases that there has been a change.

If you supply map on the command line, make updates only that map. Typing make passwd creates and runs yppush on the password database (assuming it is out-of-date). Likewise, make hosts and make networks create and run yppush on the host and network files, /etc/hosts and /etc/networks.

make uses three special variables.

  • DIR specifies the directory of the source files. The default is /etc.

  • NOPUSH ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.