summaryrefslogtreecommitdiff
path: root/factory/etc/nsswitch.conf
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-05-05 16:11:26 +0200
committerLennart Poettering <lennart@poettering.net>2021-05-08 14:35:28 +0200
commitf43a19ecd6e3415ec223f245204b4eaaff739af4 (patch)
tree81745ffa658dd9ec54081488c7e090c65f1702a4 /factory/etc/nsswitch.conf
parent09001dbdc88f447656d79822bbff9c6d7ed7e5cf (diff)
downloadsystemd-f43a19ecd6e3415ec223f245204b4eaaff739af4.tar.gz
nss-systemd: synthesize NSS shadow/gshadow records from userdb, as well
This ensures we not only synthesize regular paswd/group records of userdb records, but shadow records as well. This should make sure that userdb can be used as comprehensive superset of the classic passwd/group/shadow/gshadow functionality.
Diffstat (limited to 'factory/etc/nsswitch.conf')
-rw-r--r--factory/etc/nsswitch.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/factory/etc/nsswitch.conf b/factory/etc/nsswitch.conf
index d87f8811ec..acfa8474d2 100644
--- a/factory/etc/nsswitch.conf
+++ b/factory/etc/nsswitch.conf
@@ -2,7 +2,8 @@
passwd: compat systemd
group: compat [SUCCESS=merge] systemd
-shadow: compat
+shadow: compat systemd
+gshadow: files systemd
hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
networks: files