YPINIT(8) UNIX Programmer's Manual YPINIT(8) NAME ypinit - build and install yellow pages database SYNOPSIS ypinit -m ypinit -s master_name DESCRIPTION _y_p_i_n_i_t sets up a yellow pages database on a YP 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 YP system; later if you want you can change the association of maps to masters. All data- bases are built from scratch, either from information avail- able to the program at runtime, or from the ASCII data base files in /_e_t_c. 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. A YP database on a slave server is set up by copying an existing database from a running server. The _m_a_s_t_e_r__n_a_m_e argument should be the hostname of YP 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(5) and ypserv(8) for an overview of the yellow pages. OPTIONS -m Indicates that the local host is to be the YP 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(8), ypfiles(5), yppush(8), ypxfr(8), ypmake(8), ypserv(8) Printed 12/27/86 9 July 1985 1