ypmake(8yp)ypmake(8yp)Nameypmake - rebuild yellow pages (YP) database using the make command
Syntax
cd /etc/yp
make [ options ] [ map ]
Description
The command uses the to build the yellow pages database. With no argu‐
ments, creates databases for any YP maps that are out-of-date, and then
executes to notify slave databases that there has been a change. It is
important to note that the command should only be executed at a YP mas‐
ter server machine. If it is executed from either a slave server or a
pure YP client machine, the created changes will only be overwritten
when the next YP master server machine update, using is performed.
The options argument can be used to change the default values of three
special variables used by DIR , NOPUSH , and DOM . The DIR variable
instructs to give the directory of the source files. The NOPUSH vari‐
able, which when non-null, inhibits updating of the new data base files
using the function. The DOM variable, instructs to construct a domain
other than the master's default domain. The default for DIR is and the
default for NOPUSH is the null string. To change the default values of
these special variables, an options argument format of special_variable
= value is used. See the Examples section for an example.
The map argument supplied on the command line instructs to update only
the specified map. The specified maps are those located at where
{domain} is the yellow pages domain name. Some typical entries for the
map argument are passwd, hosts, and networks. Typing causes to create
and update the YP password database, if it is out of date. The command
updates the password data base using Therefore, typing
make host
or
make networks
causes to create and to update the host and network files, and respec‐
tively.
See and for an overview of the yellow pages.
Examples
This example causes to create a password yellow pages map for the
domain instead of for the default domain:
make DOM=NewDomain passwd
See Alsomake(1), makedbm(8yp), ypserv(8yp), yppush(8yp)ypmake(8yp)