svn commit: r54371 - head/en_US.ISO8859-1/books/handbook/network-servers

Li-Wen Hsu <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: lwhsu (src,ports committer)
Date: Fri Jul 24 18:04:23 2020
New Revision: 54371
URL: https://svnweb.freebsd.org/changeset/doc/54371

Log:
  Use consistent example for NIS domain
  
  Approved by:	bcr
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D25764

Modified:
  head/en_US.ISO8859-1/books/handbook/network-servers/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/network-servers/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/network-servers/chapter.xml	Thu Jul 23 18:36:18 2020	(r54370)
+++ head/en_US.ISO8859-1/books/handbook/network-servers/chapter.xml	Fri Jul 24 18:04:23 2020	(r54371)
@@ -1275,7 +1275,7 @@ Exports list on foobar:
 	it only needs to be enabled by adding the following lines to
 	<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_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-
 	particular server by adding these additional lines to
 	<filename>/etc/rc.conf</filename>:</para>
 
-      <programlisting>nis_client_enable="YES" # run client stuff as well
-nis_client_flags="-S <replaceable>NIS domain</replaceable>,<replaceable>server</replaceable>"</programlisting>
+<programlisting>nis_client_enable="YES"				<co xml:id="network-nis-co-client" />
+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
 	<command>/etc/netstart</command> to restart the network and
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.