1YPINIT(8)                    NIS Reference Manual                    YPINIT(8)
2
3
4

NAME

6       ypinit - NIS database install and build program
7

SYNOPSIS

9       /usr/lib/yp/ypinit [-m] [-s master_name]
10

DESCRIPTION

12       ypinit builds the domain subdirectory of /var/yp for the current
13       default domain. After building the domain subdirectory, ypinit builds a
14       complete set of administrative maps for your system and places them in
15       this directory. The first map created by ypinit -m is the ypservers
16       map. You should run it as root on the hosts, which should be the master
17       ypserver.You should have only one master server per NIS domain.
18
19       All databases are built from scratch, either from information available
20       to the program at runtime, or from the ASCII data base files in /etc.
21       These files are listed below under FILES.
22
23       An NIS database on a slave server is set up by copying an existing
24       database from a running server. The master_name argument should be the
25       hostname of an NIS server (either the master server for all the maps,
26       or a server on which the data base is up-to-date and stable).
27

OPTIONS

29       -m
30           If the local host is the NIS master.
31
32       -s
33           Set up a slave server with the database from master_name
34

FILES

36       /etc/passwd, /etc/group, /etc/hosts, /etc/networks, /etc/services,
37       /etc/protocols, /etc/netgroup, /etc/rpc
38

SEE ALSO

40       makedbm(8), revnetgroup(8), yppush(8), ypserv(8), ypxfr(8)
41

BUGS

43       There is no good error handling at the moment.
44

AUTHOR

46       Thorsten Kukuk <kukuk@linux-nis.org>
47
48
49
50NIS Reference Manual              07/27/2019                         YPINIT(8)
Impressum