mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-14 01:00:07 +00:00
7b3b0b2a63
Together with a previous patch which introduced the initgroups entry in nsswitch.conf this patch allows more customization of the lookups for initgroups/getgrouplist. Nothing changes if the groups entry in nsswitch.conf is used. If the initgroups entry is used instead the code now doesn't automatically continue looking for more entries aftedr a successful lookup. Instead the normal rules are followed which do specify that by default no more service is consulted. This can be overwritten with [SUCCESS=continue] appropriately placed in the line.
21 lines
332 B
Plaintext
21 lines
332 B
Plaintext
# /etc/nsswitch.conf
|
|
#
|
|
# Example configuration of GNU Name Service Switch functionality.
|
|
#
|
|
|
|
passwd: db files
|
|
group: db files
|
|
initgroups: db [SUCCESS=continue] files
|
|
shadow: db files
|
|
gshadow: files
|
|
|
|
hosts: files dns
|
|
networks: files dns
|
|
|
|
protocols: db files
|
|
services: db files
|
|
ethers: db files
|
|
rpc: db files
|
|
|
|
netgroup: db files
|