Comment out initgroups from example nsswitch.conf (Bug 25146)
[glibc.git] / nss / nsswitch.conf
blob4a6bcb1f7bc0b1f4b0623ae27d353ae3b995211b
2 # /etc/nsswitch.conf
4 # An example Name Service Switch config file. This file should be
5 # sorted with the most-used services at the beginning.
7 # Valid databases are: aliases, ethers, group, gshadow, hosts,
8 # initgroups, netgroup, networks, passwd, protocols, publickey,
9 # rpc, services, and shadow.
11 # Valid service provider entries include (in alphabetical order):
13 #       compat                  Use /etc files plus *_compat pseudo-db
14 #       db                      Use the pre-processed /var/db files
15 #       dns                     Use DNS (Domain Name Service)
16 #       files                   Use the local files in /etc
17 #       hesiod                  Use Hesiod (DNS) for user lookups
18 #       nis                     Use NIS (NIS version 2), also called YP
19 #       nisplus                 Use NIS+ (NIS version 3)
21 # See `info libc 'NSS Basics'` for more information.
23 # Commonly used alternative service providers (may need installation):
25 #       ldap                    Use LDAP directory server
26 #       myhostname              Use systemd host names
27 #       mymachines              Use systemd machine names
28 #       mdns*, mdns*_minimal    Use Avahi mDNS/DNS-SD
29 #       resolve                 Use systemd resolved resolver
30 #       sss                     Use System Security Services Daemon (sssd)
31 #       systemd                 Use systemd for dynamic user option
32 #       winbind                 Use Samba winbind support
33 #       wins                    Use Samba wins support
34 #       wrapper                 Use wrapper module for testing
36 # Notes:
38 # 'sssd' performs its own 'files'-based caching, so it should generally
39 # come before 'files'.
41 # WARNING: Running nscd with a secondary caching service like sssd may
42 #          lead to unexpected behaviour, especially with how long
43 #          entries are cached.
45 # Installation instructions:
47 # To use 'db', install the appropriate package(s) (provide 'makedb' and
48 # libnss_db.so.*), and place the 'db' in front of 'files' for entries
49 # you want to be looked up first in the databases, like this:
51 # passwd:    db files
52 # shadow:    db files
53 # group:     db files
55 # In alphabetical order. Re-order as required to optimize peformance.
56 aliases:    files
57 ethers:     files
58 group:      files
59 gshadow:    files
60 hosts:      files dns
61 # Allow initgroups to default to the setting for group.
62 # initgroups: files
63 netgroup:   files
64 networks:   files dns
65 passwd:     files
66 protocols:  files
67 publickey:  files
68 rpc:        files
69 shadow:     files
70 services:   files