File: ypinit.8

package info (click to toggle)
ypserv 4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,184 kB
  • sloc: ansic: 10,161; xml: 1,872; sh: 915; makefile: 263; awk: 21
file content (90 lines) | stat: -rw-r--r-- 2,870 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
'\" t
.\"     Title: ypinit
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: 12/31/2020
.\"    Manual: NIS Reference Manual
.\"    Source: NIS Reference Manual
.\"  Language: English
.\"
.TH "YPINIT" "8" "12/31/2020" "NIS Reference Manual" "NIS Reference Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ypinit \- NIS database install and build program
.SH "SYNOPSIS"
.HP \w'\fB/usr/lib/yp/ypinit\fR\ 'u
\fB/usr/lib/yp/ypinit\fR [\-m] [\-s\ \fImaster_name\fR]
.SH "DESCRIPTION"
.PP
\fBypinit\fR
builds the domain subdirectory of
/var/yp
for the current default domain\&. After building the domain subdirectory,
\fBypinit\fR
builds a complete set of administrative maps for your system and places them in this directory\&. The first map created by
\fBypinit \-m\fR
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\&.
.PP
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\&.
.PP
An
NIS
database on a slave server is set up by copying an existing database from a running server\&. The
\fBmaster_name\fR
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)\&.
.SH "OPTIONS"
.PP
\fB\-m\fR
.RS 4
If the local host is the
NIS
master\&.
.RE
.PP
\fB\-s\fR
.RS 4
Set up a slave server with the database from
\fImaster_name\fR
.RE
.SH "FILES"
.PP
/etc/passwd, /etc/group, /etc/hosts, /etc/networks, /etc/services, /etc/protocols, /etc/netgroup, /etc/rpc
.RS 4
.RE
.SH "SEE ALSO"
.PP
\fBmakedbm\fR(8),
\fBrevnetgroup\fR(8),
\fByppush\fR(8),
\fBypserv\fR(8),
\fBypxfr\fR(8)
.SH "BUGS"
.PP
There is no good error handling at the moment\&.
.SH "AUTHOR"
.PP
Thorsten Kukuk <kukuk@linux\-nis\&.org>