ypinit(1M) ypinit(1M)
NAME
ypinit - build and install NIS database
SYNOPSIS
/usr/sbin/ypinit -c
/usr/sbin/ypinit -m
/usr/sbin/ypinit -s master-name
DESCRIPTION
The ypinit command sets up the Network Information Service
(NIS) on a server or a client.
Files
/var/yp/binding/domainname/ypservers
USAGE
ypinit can be used to set up an NIS master server, an NIS
slave server, or an NIS client. To run ypinit, you must be
the NIS administrator root with the appropriate privileges.
It asks a few self-explanatory questions, and reports success
or failure to the terminal.
ypinit 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 databases are built from scratch, either from information
available to the program at runtime, or from the ASCII data
base files in /etc. These files should be in their
traditional form, rather than the abbreviated form used on
client machines.
An 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).
To set up a client, ypinit prompts for a list of NIS servers
to bind the client to, this list should be ordered from
closest to farthest server.
Refer to ypfiles(4) and ypserv(1M) for an overview of the NIS
service.
Copyright 1994 Novell, Inc. Page 1
ypinit(1M) ypinit(1M)
Options
ypinit takes the following options:
-c Set up a client system.
-m Indicate that the local host is to be the NIS
master.
-s master-name Set up a slave database.
REFERENCES
makedbm(1M), ypbuild(1M), yppush(1M), ypserv(1M), ypxfr(1M),
ypfiles(4)
Copyright 1994 Novell, Inc. Page 2