]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: always use the same example in nss module documentation
authorLennart Poettering <lennart@poettering.net>
Thu, 3 Sep 2015 11:19:17 +0000 (13:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 4 Sep 2015 07:07:30 +0000 (09:07 +0200)
Show the same recommended example file in all three man pages, just
highlight the different, relevant parts.

This should be less confusing for users, and clarify what we actually
recommend how /etc/nsswitch.conf is set up.

man/nss-myhostname.xml
man/nss-resolve.xml

index b7b7e1b555e59aa26e397c7f192f4c466787de47..4481fdf8cb8aa4b77dc381ff4cac0b6b1fca0b1a 100644 (file)
     <para>Here's an example <filename>/etc/nsswitch.conf</filename>
     file, that enables <command>myhostname</command> correctly:</para>
 
-<programlisting>passwd:         compat
-group:          compat
+<programlisting>passwd:         compat mymachines
+group:          compat mymachines
 shadow:         compat
 
 hosts:          files resolve mymachines <command>myhostname</command>
index dd402b359c967570c62d5bb78e31bc921df8242f..7d291b83c19908746fb08151ac53e47db1b7ca6c 100644 (file)
@@ -82,8 +82,8 @@
     <para>Here's an example <filename>/etc/nsswitch.conf</filename>
     file, that enables <command>resolve</command> correctly:</para>
 
-<programlisting>passwd:         compat
-group:          compat
+<programlisting>passwd:         compat mymachines
+group:          compat mymachines
 shadow:         compat
 
 hosts:          files <command>resolve</command> mymachines myhostname