summary refs log tree commit diff
path: root/nss/nsswitch.conf
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2019-10-29 11:58:03 -0400
committerCarlos O'Donell <carlos@redhat.com>2019-10-29 13:08:24 -0400
commiteed1f6fcdb0526498223ebfe95f91ef5dec2172a (patch)
treebfe00e368353278c1bf3cf93d9e127af89a981e6 /nss/nsswitch.conf
parent177a3d48a1c74d7b2cd6bfd48901519d25a5ecad (diff)
downloadglibc-eed1f6fcdb0526498223ebfe95f91ef5dec2172a.tar.gz
glibc-eed1f6fcdb0526498223ebfe95f91ef5dec2172a.tar.xz
glibc-eed1f6fcdb0526498223ebfe95f91ef5dec2172a.zip
Comment out initgroups from example nsswitch.conf (Bug 25146)
In commit 4b7c74179c8928d971d370e1137d202f891a4cf5 the nsswitch.conf
file was harmonized with downstream distributions, but this change
included adding "initgroups: files". We should not add initgroups by
default, we can have it, but it should be commented out to allow it
to inherit the settings for group. The problem is principally that
downstream authconfig won't update initgroups and it will get out of
sync with the setting for group.
Diffstat (limited to 'nss/nsswitch.conf')
-rw-r--r--nss/nsswitch.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/nss/nsswitch.conf b/nss/nsswitch.conf
index f553588114..4a6bcb1f7b 100644
--- a/nss/nsswitch.conf
+++ b/nss/nsswitch.conf
@@ -58,7 +58,8 @@ ethers:     files
 group:      files
 gshadow:    files
 hosts:      files dns
-initgroups: files
+# Allow initgroups to default to the setting for group.
+# initgroups: files
 netgroup:   files
 networks:   files dns
 passwd:     files