mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
man: always use the same example in nss module documentation
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.
This commit is contained in:
parent
c7f837628b
commit
a8ba86ce6a
@ -111,8 +111,8 @@
|
||||
<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>
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user