YPINIT(8,C) AIX Commands Reference YPINIT(8,C)
-------------------------------------------------------------------------------
ypinit
PURPOSE
Builds and installs NIS data base.
SYNTAX
+------- -m -------+
/etc/yp/ypinit ---| |---|
+- -s master_name -+
Note: This command does not have MBCS support.
DESCRIPTION
ypinit sets up an NIS data base on an NIS server for the current NIS domain.
The domain must have been set earlier using the domainname command. You must
be the superuser to run it. It asks a few, self-explanatory questions, and
reports 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 if you want you can change the association of maps to masters.
All data bases are built from scratch, either from information available to the
program at runtime, or from the ASCII data base files in /etc. These files are
listed below under Files. All such files should be in their "traditional"
form, rather than the abbreviated form used on client machines.
An NIS data base on a slave server is set up by copying an existing data base
from a running server. The master name argument should be the hostname of NIS
server (either the master server for all the maps, or a server on which the
data base is up-to-date and stable).
ypinit creates its map files in the directory /local/yp/<domain>. Furthermore,
the file /etc/yp/<domain>/MASTER is created if this NIS host is the master
server. This file is created so that in a TCF cluster, only the one host which
will be serving as the master server will start up ypserv and rpc.yppasswdd.
FLAGS
-m Indicates that the local host is to be the NIS master.
-s Set up a slave data base.
FILES
Processed November 8, 1990 YPINIT(8,C) 1
YPINIT(8,C) AIX Commands Reference YPINIT(8,C)
/etc/passwd
/etc/group
/etc/hosts
/etc/networks
/etc/services
/etc/protocols
/etc/yp/<domain>/MASTER
RELATED INFORMATION
See the following commands: "makedbm," "yppush," "ypxfr," "ypserv, ypbind,"
and "domainname."
Processed November 8, 1990 YPINIT(8,C) 2