Enhance the NIS server / client configuration sections, by adding a few missing steps

This commit is contained in:
Manolis Kiagias 2010-03-12 19:40:56 +00:00
parent eb3a94b4f6
commit 1eae5376a7
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=35492

View file

@ -1526,10 +1526,14 @@ Exports list on foobar:
details.</para>
</note>
<para>Now, all you have to do is to run the command
<para>After setting up the above entries, run the command
<command>/etc/netstart</command> as superuser. It will
set up everything for you, using the values you defined in
<filename>/etc/rc.conf</filename>.</para>
<filename>/etc/rc.conf</filename>. As a last step, before
initializing the NIS maps, start the
<application>ypserv</application> daemon manually:</para>
<screen>&prompt.root; <userinput>/etc/rc.d/ypserv start</userinput></screen>
</sect4>
<sect4>
@ -1803,6 +1807,12 @@ nis_client_enable="YES"</programlisting>
</step>
</procedure>
<para>To start the NIS client immediately, execute the following
commands as the superuser:</para>
<screen>&prompt.root; <userinput>/etc/netstart</userinput>
&prompt.root; <userinput>/etc/rc.d/ypbind start</userinput></screen>
<para>After completing these steps, you should be able to run
<command>ypcat passwd</command> and see the NIS server's
passwd map.</para>