summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-05-25 22:30:14 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-05-25 22:30:14 +0200
commit8fbd57a97a76eaf57be638dc0f9bd019a7bf19ab (patch)
tree2757aeea5a105316c0cd9f51800a3dfb7b4f0d6b
parentExtend nss-systemd patch by an explanatory comment (diff)
downloadglibc-patches-8fbd57a9.tar.gz
glibc-patches-8fbd57a9.tar.bz2
glibc-patches-8fbd57a9.zip
Add systemd also to gshadow and shadow lines
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--9999/0051-Gentoo-nsswitch.conf-Add-nss-systemd-hook-also-to-sh.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/9999/0051-Gentoo-nsswitch.conf-Add-nss-systemd-hook-also-to-sh.patch b/9999/0051-Gentoo-nsswitch.conf-Add-nss-systemd-hook-also-to-sh.patch
new file mode 100644
index 0000000..27cff54
--- /dev/null
+++ b/9999/0051-Gentoo-nsswitch.conf-Add-nss-systemd-hook-also-to-sh.patch
@@ -0,0 +1,35 @@
+From c834ea3358e6a3d74ed45b96168338f31dd0f080 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org>
+Date: Tue, 25 May 2021 22:24:20 +0200
+Subject: [PATCH] Gentoo: nsswitch.conf: Add nss-systemd hook also to shadow
+ and gshadow
+
+See-also: https://github.com/systemd/systemd/pull/19545
+See-also: https://github.com/systemd/systemd/commit/f43a19ecd6e3415ec223f245204b4eaaff739af4
+---
+ nss/nsswitch.conf | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nss/nsswitch.conf b/nss/nsswitch.conf
+index 0faf5e71fe..17aa6db22b 100644
+--- a/nss/nsswitch.conf
++++ b/nss/nsswitch.conf
+@@ -61,7 +61,7 @@
+ aliases: files
+ ethers: files
+ group: files [SUCCESS=merge] systemd
+-gshadow: files
++gshadow: files systemd
+ hosts: files dns
+ # Allow initgroups to default to the setting for group.
+ # initgroups: files
+@@ -71,5 +71,5 @@ passwd: files systemd
+ protocols: files
+ publickey: files
+ rpc: files
+-shadow: files
++shadow: files systemd
+ services: files
+--
+2.26.3
+