YPINIT(NADM) System V NFS (11/29/90) YPINIT(NADM)
NAME
ypinit - build and install network information service (NIS)
databases
SYNOPSIS
ypinit -m
ypinit -s master_name
ypinit -c master_name
DESCRIPTION
ypinit sets up a network information service database on a
NIS server. It can be used to set up a master server, a
slave server, or a slave copier. You must be the superuser
to run it. It asks a few self-explanatory questions and
reports its success or failure to the terminal.
It sets up a master server using the simple model in which
that server is master to all maps in the data base. This is
the way to bootstrap the NIS system; later the association
of maps to masters can be changed. All databases are built
from scratch, either from information available to the
program at runtime or from the ASCII data base files in
/etc. Some of these files are listed below under FILES.
Additional files may be handled by the network information
service as required by the local environment. All such
files should be in their "traditional" form.
A NIS database on a slave server is set up by copying an
existing database from a running server. The master_name
argument should be the hostname of a NIS server, either the
master server for all the maps or a server on which the data
base is up-to-date and stable.
A NIS database on a slave copier is set up by copying an
existing database from a running server. The master_name
argument should be the hostname of a NIS server, either the
master server for all the maps or a server on which the data
base is up-to-date and stable. The only difference between
a slave server and a slave copier is that the slave copier
does not respond to NIS requests from the network.
In all three cases, ypinit modifies /etc/nfs to enable the
automatic starting of the NIS daemons. It also makes sure
that they get started with the correct arguments.
Refer to ypfiles(NF) and ypserv(NADM) for an overview of the
network information service.
OPTIONS
-m Indicates that the local host is to be the NIS master.
-s Set up a slave database.
Page 1 (printed 7/1/91)
YPINIT(NADM) System V NFS (11/29/90) YPINIT(NADM)
-c Set up a slave copier database.
FILES
/etc/passwd, /etc/passwd.local, /etc/passwd.yp
/etc/group, /etc/group.local, /etc/group.yp
SEE ALSO
makedbm(NADM), ypfiles(NF), yppush(NADM), ypxfr(NADM),
ypmake(NADM), ypserv(NADM), map2ascii(NADM), nfs(NADM)
Page 2 (printed 7/1/91)