ypbuild(1M) ypbuild(1M)
NAME
ypbuild, ypalias - rebuild NIS database
SYNOPSIS
cd /var/yp ; make [map]
cd /var/yp ; ./ypbuild SHELL=/sbin/sh [map]
DESCRIPTION
The file called Makefile in /var/yp is used to build the
Network Information Service (NIS) database.
Files
/var/yp/Makefile
USAGE
If make(1) is installed on your system, use the first form of
the synopsis to build the NIS database. If make is not
installed, execute /var/yp/ypbuild as shown in the second form
of the synopsis to build the NIS database.
With no arguments, make (or ypbuild) 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 map is supplied on the command line, make (or ypbuild) will
update that map only.
There are three special variables used by make (or ypbuild) in
the Makefile: 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.
make (or ypbuild) also creates entries in /var/yp/aliases.
These entries are generated by /usr/sbin/ypalias, which takes
a string as input and returns the alias derived from that
string.
Refer to ypfiles(4) and ypserv(1M) for an overview of the NIS
service.
REFERENCES
make(1), makedbm(1M), yppush(1M), ypserv(1M), ypfiles(4)
Copyright 1994 Novell, Inc. Page 1