Section: Maintenance Commands (8)Updated: August 1996Local indexUp
ypinit - NIS database install and build program
builds the domain subdirectory of /var/yp for the current default
domain. After building the domain subdirectory,
builds a complete set of administrative maps for your system and places
them in this directory. The first map created by
is the ypservers map. You should run it as root on the hosts, which
should be the master ypserver.
You should have only one master server per NIS domain.
All databases are built from scratch,
either from information available to the program at runtime,
or from the
data base files in
These files are listed below under
database on a slave server is set up by copying
an existing database from a running server. The
argument should be the hostname of an
server (either the master server for all the maps,
or a server on which the data base is up-to-date and stable).
If the local host is the
Set up a slave server with the database from