ypinit (8) Linux Manual Page
ypinit – NIS database install and build program
Synopsis
-
/usr/lib/yp/ypinit[-m] [-smaster_name]
Description
ypinit
ypinit builds a complete set of administrative maps for your system and places them in this directory. The first map created by ypinit -m is the ypservers map. You should run it as root on the hosts, which should be the master ypserver.You should have only one master server per NIS domain.
All databases are built from scratch, either from information available to the program at runtime, or from the ASCII data base files in FC/etcF[]. These files are listed below under FILES.
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).
Options
-m
- If the local host is the NIS master.
-s
- Set up a slave server with the database from master_name
Files
FC/etc/passwdF[], FC/etc/groupF[], FC/etc/hostsF[], FC/etc/networksF[], FC/etc/servicesF[], FC/etc/protocolsF[], FC/etc/netgroupF[], FC/etc/rpcF[]
See Also
makedbm(8), revnetgroup(8), yppush(8), ypserv(8), ypxfr(8)
Bugs
There is no good error handling at the moment.
Author
Thorsten Kukuk <kukuk [at] linux-nis.org>
