Use consistent example for NIS domain
Approved by: bcr Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25764
This commit is contained in:
parent
b1eea5e696
commit
b0e5291b0c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=54371
1 changed files with 14 additions and 3 deletions
|
@ -1275,7 +1275,7 @@ Exports list on foobar:
|
||||||
it only needs to be enabled by adding the following lines to
|
it only needs to be enabled by adding the following lines to
|
||||||
<filename>/etc/rc.conf</filename>:</para>
|
<filename>/etc/rc.conf</filename>:</para>
|
||||||
|
|
||||||
<programlisting>nisdomainname="test-domain" <co xml:id="network-nis-co-domainname" />
|
<programlisting>nisdomainname="<replaceable>test-domain</replaceable>" <co xml:id="network-nis-co-domainname" />
|
||||||
nis_server_enable="YES" <co xml:id="network-nis-co-server" />
|
nis_server_enable="YES" <co xml:id="network-nis-co-server" />
|
||||||
nis_yppasswdd_enable="YES" <co xml:id="network-nis-co-yppasswdd" /></programlisting>
|
nis_yppasswdd_enable="YES" <co xml:id="network-nis-co-yppasswdd" /></programlisting>
|
||||||
|
|
||||||
|
@ -1314,8 +1314,19 @@ nis_yppasswdd_enable="YES" <co xml:id="network-nis-co-yppasswdd" /></programlist
|
||||||
particular server by adding these additional lines to
|
particular server by adding these additional lines to
|
||||||
<filename>/etc/rc.conf</filename>:</para>
|
<filename>/etc/rc.conf</filename>:</para>
|
||||||
|
|
||||||
<programlisting>nis_client_enable="YES" # run client stuff as well
|
<programlisting>nis_client_enable="YES" <co xml:id="network-nis-co-client" />
|
||||||
nis_client_flags="-S <replaceable>NIS domain</replaceable>,<replaceable>server</replaceable>"</programlisting>
|
nis_client_flags="-S <replaceable>test-domain</replaceable>,<replaceable>server</replaceable>" <co xml:id="network-nis-co-clientflags" /></programlisting>
|
||||||
|
|
||||||
|
<calloutlist>
|
||||||
|
<callout arearefs="network-nis-co-client">
|
||||||
|
<para>This enables running client stuff as well.</para>
|
||||||
|
</callout>
|
||||||
|
|
||||||
|
<callout arearefs="network-nis-co-clientflags">
|
||||||
|
<para>This line sets the <acronym>NIS</acronym> domain name
|
||||||
|
to <literal>test-domain</literal> and bind to itself.</para>
|
||||||
|
</callout>
|
||||||
|
</calloutlist>
|
||||||
|
|
||||||
<para>After saving the edits, type
|
<para>After saving the edits, type
|
||||||
<command>/etc/netstart</command> to restart the network and
|
<command>/etc/netstart</command> to restart the network and
|
||||||
|
|
Loading…
Reference in a new issue