diff --git a/README b/README
index 8e4d967056..a273846a1a 100644
--- a/README
+++ b/README
@@ -383,15 +383,16 @@ GLIBC NSS:
DynamicUser= setting in unit files.)
To make use of these NSS modules, please add them to the "hosts:",
- "passwd:" and "group:" lines in /etc/nsswitch.conf. The "resolve" module
- should replace the glibc "dns" module in this file (and don't worry, it
- chain-loads the "dns" module if it can't talk to resolved).
+ "passwd:", "group:", "shadow:" and "gshadow:" lines in
+ /etc/nsswitch.conf.
The four modules should be used in the following order:
- passwd: compat systemd
- group: compat systemd
- hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname
+ passwd: files systemd
+ group: files [SUCCESS=merge] systemd
+ shadow: files systemd
+ gshadow: files systemd
+ hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
SYSV INIT.D SCRIPTS:
When calling "systemctl enable/disable/is-enabled" on a unit which is a
diff --git a/factory/etc/nsswitch.conf b/factory/etc/nsswitch.conf
index acfa8474d2..45a6820c5e 100644
--- a/factory/etc/nsswitch.conf
+++ b/factory/etc/nsswitch.conf
@@ -1,8 +1,8 @@
# This file is part of systemd.
-passwd: compat systemd
-group: compat [SUCCESS=merge] systemd
-shadow: compat systemd
+passwd: files systemd
+group: files [SUCCESS=merge] systemd
+shadow: files systemd
gshadow: files systemd
hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml
index 19e7aa237a..360e6d7ceb 100644
--- a/man/nss-myhostname.xml
+++ b/man/nss-myhostname.xml
@@ -93,12 +93,11 @@
nss-myhostname correctly:
-passwd: compat systemd
-group: compat [SUCCESS=merge] systemd
-shadow: compat systemd
+passwd: files systemd
+group: files [SUCCESS=merge] systemd
+shadow: files systemd
gshadow: files systemd
-
hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
networks: files
diff --git a/man/nss-mymachines.xml b/man/nss-mymachines.xml
index baec10954b..717ecc534b 100644
--- a/man/nss-mymachines.xml
+++ b/man/nss-mymachines.xml
@@ -64,9 +64,9 @@
nss-mymachines correctly:
- passwd: compat systemd
-group: compat [SUCCESS=merge] systemd
-shadow: compat systemd
+ passwd: files systemd
+group: files [SUCCESS=merge] systemd
+shadow: files systemd
gshadow: files systemd
hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
diff --git a/man/nss-resolve.xml b/man/nss-resolve.xml
index 6a1d84e721..d633be2c3d 100644
--- a/man/nss-resolve.xml
+++ b/man/nss-resolve.xml
@@ -150,9 +150,9 @@
nss-resolve correctly:
-passwd: compat systemd
-group: compat [SUCCESS=merge] systemd
-shadow: compat systemd
+passwd: files systemd
+group: files [SUCCESS=merge] systemd
+shadow: files systemd
gshadow: files systemd
hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
diff --git a/man/nss-systemd.xml b/man/nss-systemd.xml
index b7b453825e..bc975c0e1a 100644
--- a/man/nss-systemd.xml
+++ b/man/nss-systemd.xml
@@ -50,10 +50,10 @@
passwd:, group:, shadow: and
gshadow: in /etc/nsswitch.conf.
- It is recommended to place systemd after the files or
- compat entry of the /etc/nsswitch.conf lines so that
- /etc/passwd, /etc/group, /etc/shadow and
- /etc/gshadow based mappings take precedence.
+ It is recommended to place systemd after the files entry of
+ the /etc/nsswitch.conf lines so that /etc/passwd,
+ /etc/group, /etc/shadow and /etc/gshadow
+ based mappings take precedence.
@@ -106,9 +106,9 @@ lrwxrwxrwx. 1 root root 19 May 10 4711.user-privileged -> foobar.user-privileg
nss-systemd correctly:
- passwd: compat systemd
-group: compat [SUCCESS=merge] systemd
-shadow: compat systemd
+ passwd: files systemd
+group: files [SUCCESS=merge] systemd
+shadow: files systemd
gshadow: files systemd
hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns