From owner-doc-jp@jp.freebsd.org  Sun Feb 13 04:08:07 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id EAA76877;
	Sun, 13 Feb 2000 04:08:07 +0900 (JST)
	(envelope-from owner-doc-jp@jp.FreeBSD.org)
Received: from sv01.geocities.co.jp (sv01.geocities.co.jp [210.153.89.155])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id EAA76872
	for <doc-jp@jp.freebsd.org>; Sun, 13 Feb 2000 04:08:07 +0900 (JST)
	(envelope-from hrs@geocities.co.jp)
Received: from mail.geocities.co.jp (mail.geocities.co.jp [210.153.89.137]) by sv01.geocities.co.jp (8.9.3+3.2W/3.7W) with ESMTP id EAA20900 for <doc-jp@jp.freebsd.org>; Sun, 13 Feb 2000 04:08:06 +0900 (JST)
Received: from mail.hrs.jp (sutnmax1-ppp41.ed.noda.sut.ac.jp [133.31.173.51]) by mail.geocities.co.jp (1.3G-GeocitiesJ-3.3) with ESMTP id EAA06206 for <doc-jp@jp.freebsd.org>; Sun, 13 Feb 2000 04:08:05 +0900 (JST)
Message-Id: <200002121908.EAA06206@mail.geocities.co.jp>
Received: from localhost (alph.hrs.jp [192.168.0.10])
	by mail.hrs.jp (8.9.3/3.7W/DomainMaster) with ESMTP id DAA06739
	for <doc-jp@jp.freebsd.org>; Sun, 13 Feb 2000 03:31:38 +0900 (JST)
	(envelope-from hrs@hrs.jp)
To: doc-jp@jp.freebsd.org
X-Mailer: Mew version 1.94 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Date: Sun, 13 Feb 2000 03:31:37 +0900
From: Hiroki Sato <hrs@geocities.co.jp>
X-Dispatcher: imput version 990905(IM130)
Lines: 51
Reply-To: doc-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: doc-jp 7019
Subject: [doc-jp 7019] books/handbook/advanced-networking/chapter.sgml #3
Errors-To: owner-doc-jp@jp.freebsd.org
Sender: owner-doc-jp@jp.freebsd.org
X-Originator: hrs@geocities.co.jp

$B:4F#!wEl5~M}2JBg3X$G$9!#(B

 $B$5$i$KB3$-$G$9!#(B

(books/handbook/advanced-networking/chapter.sgml 1.17 -> 1.18 #3)

+	  <itemizedlist>
+	    <listitem>
+	      <para>Make sure your NIS domainname is set, using the
+		<command>domainname</command> command.  You can run
+		<command>ypinit</command> for domains other than the one
+		your host is in but if <literal>domainname</literal> is
+		not set, now is a good time to do so.</para>
+	    </listitem>
+
+	    <listitem>
+	      <para>Make sure a copy of the
+	        <filename>master.passwd</filename> file is in
+		<filename>/var/yp</filename>.  This where NIS will get the
+		password entries it will share with it's clients.
+		<command>ypinit</command> runs with errors if this file is
+		not present.  You can either start a new
+		<filename>master.passwd</filename> or copy the existing
+		one from <filename>/etc/master.passwd</filename>.  If you
+		do the latter, make sure the permissions are set properly
+		to disallow world/group reading of the file.</para>
+	    </listitem>
+
+	    <listitem>
+	      <para>Start the <command>ypserv</command> daemon.
+		<command>ypinit</command> requires
+		<command>ypserv</command> to be running to answer some RPC
+		calls it makes.  In its basic configuration
+		<command>ypserv</command> does not need to be run with any
+		flags.</para>
+	    </listitem>
+	  </itemizedlist>
+
+	  <para>Once you've done the above steps, run
+	    <command>ypinit</command> with the <option>-m</option> flag.
+	    You might want to specify the domain you are building a master
+	    server for if it is different than what the
+	    <literal>domainname</literal> is set to.  In this example,
+	    <filename>test-domain</filename> will be our NIS
+	    domainname.</para>

--
| $B:4F#(B $B9-@8!wEl5~M}2JBg3X(B <hrs@geocities.co.jp>
|
|                                  j7397067@ed.noda.sut.ac.jp(univ)
|                        hrs@jp.FreeBSD.org(FreeBSD doc-jp Project)
