Enhance the NIS server / client configuration sections, by adding a few missing steps
This commit is contained in:
parent
eb3a94b4f6
commit
1eae5376a7
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=35492
1 changed files with 12 additions and 2 deletions
|
|
@ -1526,10 +1526,14 @@ Exports list on foobar:
|
||||||
details.</para>
|
details.</para>
|
||||||
</note>
|
</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
|
<command>/etc/netstart</command> as superuser. It will
|
||||||
set up everything for you, using the values you defined in
|
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>
|
||||||
|
|
||||||
<sect4>
|
<sect4>
|
||||||
|
|
@ -1803,6 +1807,12 @@ nis_client_enable="YES"</programlisting>
|
||||||
</step>
|
</step>
|
||||||
</procedure>
|
</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
|
<para>After completing these steps, you should be able to run
|
||||||
<command>ypcat passwd</command> and see the NIS server's
|
<command>ypcat passwd</command> and see the NIS server's
|
||||||
passwd map.</para>
|
passwd map.</para>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue