ypmake(1M) ONC 5.4R3.00 ypmake(1M)
NAME
ypmake - rebuild Network Information Service database
SYNOPSIS
cd /etc/yp; make [ map ]
DESCRIPTION
The file called Makefile in /etc/yp is used by make to build the
Network Information Service 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 a map on the command line, make will update that map
only. Typing make passwd will create and yppush the password
database (assuming it is out of date). Likewise, make hosts and make
networks will create and yppush the host and network files,
/etc/hosts and /etc/networks.
There are four special variables used by make: SRC_DIR, which gives
the directory of the source files; NOPUSH, which when non-null
inhibits doing a yppush of the new database files; DOM, used to
construct a domain other than the master's default domain and
INTERDOMAIN, which, when set to -b, allows NIS to access the domain
name server. The domain name server must be set up and configured
for the INTERDOMAIN variable to work (see Chapter 3, "The Network
Information Service," in Managing ONC (Trademark)/NFSĀ® and Its
Facilities on the DG/UX System for more information). The default
for SRC_DIR is /etc, and the default for NOPUSH is the null string.
Refer to ypfiles(4) and ypserv(1M) for an overview of the NIS.
FILES
/etc/yp
/etc/hosts
/etc/networks
SEE ALSO
make(1), makedbm(1M), yppush(1M), ypserv(1M), ypfiles(4).
Licensed material--property of copyright holder(s) 1