File: ypinit.8.xml

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 (115 lines) | stat: -rw-r--r-- 4,040 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
                   "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">

<refentry id='ypinit'>
  <refmeta>
    <refentrytitle>ypinit</refentrytitle>
    <manvolnum>8</manvolnum>
    <refmiscinfo class='setdesc'>NIS Reference Manual</refmiscinfo>
  </refmeta>

  <refnamediv id='name'>
    <refname>ypinit</refname>
    <refpurpose>NIS database install and build program</refpurpose>
  </refnamediv>

<!-- body begins here -->

  <refsynopsisdiv id='synopsis'>
    <cmdsynopsis>
      <command>/usr/lib/yp/ypinit</command>
      <arg choice='opt'>-m </arg>
      <arg choice='opt'><arg choice='plain'>-s</arg> <arg choice='plain'><replaceable>master_name</replaceable></arg></arg>
    </cmdsynopsis>
  </refsynopsisdiv>

  <refsect1 id='description'>
    <title>DESCRIPTION</title>
    <para>
      <command>ypinit</command> builds the domain subdirectory of
      <filename>/var/yp</filename> for the current default domain.
      After building the domain subdirectory,
      <command>ypinit</command> builds a complete set of administrative
      maps for your system and places them in this directory. The first
      map created by <userinput>ypinit -m</userinput> 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.
    </para>

    <para>
      All databases are built from scratch, either from information
      available to the program at runtime, or from the <acronym>ASCII</acronym>
      data base files in <filename>/etc</filename>. These files are
      listed below under <acronym>FILES</acronym>.
    </para>

    <para>
      An <acronym>NIS</acronym> database on a slave server is set up
      by copying an existing database from a running server.  The
      <userinput>master_name</userinput> argument should be the
      hostname of an <acronym>NIS</acronym> server (either the
      master server for all the maps, or a server on which the data
      base is up-to-date and stable).
    </para>
  </refsect1>

<refsect1 id='options'><title>OPTIONS</title>
<variablelist remap='TP'>
  <varlistentry>
  <term><option>-m</option></term>
  <listitem>
<para>If the local host is the
<acronym>NIS</acronym>
master.</para>
  </listitem>
  </varlistentry>
  <varlistentry>
  <term><option>-s</option></term>
  <listitem>
<para>Set up a slave server with the database from
<emphasis remap='I'>master_name</emphasis></para>
  </listitem>
  </varlistentry>
</variablelist>
</refsect1>

<refsect1 id='files'><title>FILES</title>
<!-- .PD 0 -->
<variablelist remap='TP'>
  <varlistentry>
  <term><filename>/etc/passwd</filename></term>
  <term><filename>/etc/group</filename></term>
  <term><filename>/etc/hosts</filename></term>
  <term><filename>/etc/networks</filename></term>
  <term><filename>/etc/services</filename></term>
  <term><filename>/etc/protocols</filename></term>
  <term><filename>/etc/netgroup</filename></term>
  <term><filename>/etc/rpc</filename></term>
  <listitem>
<!-- .PD -->
<para></para> <!-- FIXME: blank list item -->
  </listitem>
  </varlistentry>
</variablelist>
</refsect1>

<refsect1 id='see_also'><title>SEE ALSO</title>
<para><citerefentry><refentrytitle>makedbm</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>revnetgroup</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>yppush</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>ypserv</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>ypxfr</refentrytitle><manvolnum>8</manvolnum></citerefentry></para>
</refsect1>

  <refsect1 id='bugs'>
    <title>BUGS</title>
    <para>There is no good error handling at the moment.</para>
  </refsect1>

  <refsect1 id='author'>
    <title>AUTHOR</title>
    <para>Thorsten Kukuk &lt;kukuk@linux-nis.org&gt;</para>
  </refsect1>

</refentry>