From f43a19ecd6e3415ec223f245204b4eaaff739af4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 5 May 2021 16:11:26 +0200 Subject: 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. --- factory/etc/nsswitch.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'factory') 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 -- cgit v1.2.3