summaryrefslogtreecommitdiff
blob: 27cff54574aa66685cd2fff56b720811390d4993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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