From: Lennart Poettering Date: Thu, 3 Sep 2015 11:19:17 +0000 (+0200) Subject: man: always use the same example in nss module documentation X-Git-Tag: v226~31^2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8ba86ce6a78f2bd80529e535af3494bf8297cfd;p=thirdparty%2Fsystemd.git 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. --- diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml index b7b7e1b555e..4481fdf8cb8 100644 --- a/man/nss-myhostname.xml +++ b/man/nss-myhostname.xml @@ -111,8 +111,8 @@ Here's an example /etc/nsswitch.conf file, that enables myhostname correctly: -passwd: compat -group: compat +passwd: compat mymachines +group: compat mymachines shadow: compat hosts: files resolve mymachines myhostname diff --git a/man/nss-resolve.xml b/man/nss-resolve.xml index dd402b359c9..7d291b83c19 100644 --- a/man/nss-resolve.xml +++ b/man/nss-resolve.xml @@ -82,8 +82,8 @@ Here's an example /etc/nsswitch.conf file, that enables resolve correctly: -passwd: compat -group: compat +passwd: compat mymachines +group: compat mymachines shadow: compat hosts: files resolve mymachines myhostname