diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml index b7b7e1b555..4481fdf8cb 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 dd402b359c..7d291b83c1 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