commit:     8fbd57a97a76eaf57be638dc0f9bd019a7bf19ab
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue May 25 20:30:14 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue May 25 20:30:14 2021 +0000
URL:        
https://gitweb.gentoo.org/proj/toolchain/glibc-patches.git/commit/?id=8fbd57a9

Add systemd also to gshadow and shadow lines

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 ...itch.conf-Add-nss-systemd-hook-also-to-sh.patch | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)

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?= <dilfri...@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
+

Reply via email to