YPMAKE(NADM) Release 3.2.4 (11/29/90) YPMAKE(NADM)
NAME
ypmake - rebuild network information service (NIS) databases
SYNOPSIS
cd /etc/yp ; ypmake [ map ]
DESCRIPTION
Ypmake is used to build the network services information
database. If make(C) is on the system, the file, Makefile,
in the directory, /etc/yp, is used by make(C) to build the
network information service database. If make(C) is not on
the system, then ypmake will create the database
unconditionally. With no arguments, ypmake creates dbm(NS)
databases for any NIS maps that are out-of-date and then
executes yppush(NADM) to notify the slave databases that
there has been a change.
If you supply a map on the command line, ypmake will update
that map only. Typing ypmake passwd will create and yppush
the password database (assuming it is out-of-date).
Likewise, ypmake hosts and ypmake networks will create and
yppush the host and network files, /etc/hosts and
/etc/networks, respectively.
There are three special variables used by ypmake: DIR, which
gives the directory of the source files; NOPUSH, which when
non-null inhibits doing a yppush of the new database files;
and DOM, used to construct a domain other than the master's
default domain. The default for DIR is /etc and the default
for NOPUSH is the null string.
Refer to ypfiles(NF) and ypserv(NADM) for an overview of the
network information service.
FILES
/etc/yp/ypmake /etc/yp/Makefile
SEE ALSO
make(C), makedbm(NADM), ypserv(NADM), yppush(NADM)
ypfiles(NF), dbm(NS)
Page 1 (printed 7/1/91)