ypinit(1M)

ypinit - build and install NIS database

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     ypinit - build and install NIS database

SYNOPSIS
     /var/yp/ypinit -m
     /var/yp/ypinit -s master_name

DESCRIPTION
     ypinit sets up a network information service (NIS) database on an NIS
     server.  It can be used to set up a master or a slave server.  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 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 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 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 an NIS server (either the master server for all the maps, or
     a server on which the data base is up-to-date and stable).

     Refer to ypfiles(4) and ypserv(1m) for an overview of NIS.

OPTIONS
     -m   Indicates that the local host is to be the NIS master.

     -s   Set up a slave database.

FILES
     /etc/passwd
     /etc/group
     /etc/hosts
     /etc/networks
     /etc/services
     /etc/protocols
     /etc/netgroup
     /etc/ethers

SEE ALSO
     makedbm(1M), ypfiles(4), yppush(1M), ypxfr(1M), ypmake(1M), ypserv(1M)