summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2021-07-29 11:23:09 -0400
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-07-29 18:49:02 +0200
commit0854e4aa76942758f676dbca6dd1388c049b0149 (patch)
tree0ed6999c2a0873ae185474e28cc0c168891c41b2
parentAdd support for nss-resolve, -mymachines, -myhostname (diff)
downloadglibc-systemd-master.tar.gz
glibc-systemd-master.tar.bz2
glibc-systemd-master.zip
Return immediately if libnss_files cannot open /etc/shadowHEAD20210729master
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@gentoo.org> Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--gentoo-config/nsswitch.conf2
1 files changed, 1 insertions, 1 deletions
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