commit:     0854e4aa76942758f676dbca6dd1388c049b0149
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 29 15:23:09 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Jul 29 16:49:02 2021 +0000
URL:        
https://gitweb.gentoo.org/proj/toolchain/glibc-systemd.git/commit/?id=0854e4aa

Return immediately if libnss_files cannot open /etc/shadow

This restores the EACCES errno value that is expected by pam_unix in
>=sys-libs/pam-1.5.2.

Bug: https://bugs.gentoo.org/803050
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 gentoo-config/nsswitch.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gentoo-config/nsswitch.conf b/gentoo-config/nsswitch.conf
index b6d742d..d758a68 100644
--- a/gentoo-config/nsswitch.conf
+++ b/gentoo-config/nsswitch.conf
@@ -72,5 +72,5 @@ passwd:     files systemd
 protocols:  files
 publickey:  files
 rpc:        files
-shadow:     files systemd
+shadow:     files [UNAVAIL=return] systemd
 services:   files

Reply via email to