1 .\" $NetBSD: ypinit.8,v 1.15 2005/02/26 16:33:46 thorpej Exp $
3 .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to The NetBSD Foundation
7 .\" by Curt J. Sampson.
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
35 .Nd initialize NIS subsystem
40 .Op Fl l Ar server1,...,serverN
44 .Op Fl l Ar server1,...,serverN
49 .Op Fl l Ar server1,...,serverN
52 initializes the files and directories that are required for a
58 isn't specified, the default domain (as returned by
62 The following options are available:
63 .Bl -tag -width indent
69 .Pa /var/yp/binding/\*[Lt]domain\*[Gt].ypservers
70 to contain a list of ypservers for
73 .It Fl l Ar server1,...,serverN
74 Set the list of client servers from the command line rather than
75 prompting for them interactively. The format is a comma separated list
76 of server names with no spaces.
81 Generates map data from local files
82 .Pa ( /etc/master.passwd ,
85 .It Fl s Ar master_server
86 Create a slave server.
87 Downloads the maps from
89 which should be the active master
94 To rebuild or refresh the maps for the
96 domain \*[Lt]domain\*[Gt], change to the
97 .Pa /var/yp/\*[Lt]domain\*[Gt]
101 .Bl -tag -width /var/yp/ypserv.log -compact
105 directory; contains the template makefiles.
106 .It Pa /var/yp/\*[Lt]domain\*[Gt]
109 maps for \*[Lt]domain\*[Gt].
110 .It Pa /var/yp/binding/\*[Lt]domain\*[Gt].ypservers
127 Originally written by Mats O Jansson
128 .Aq moj@stacken.kth.se .
129 Modified by Jason R. Thorpe
130 .Aq thorpej@NetBSD.org .