192 |
- |
1 |
#
|
|
|
2 |
# /etc/nsswitch.conf
|
|
|
3 |
#
|
|
|
4 |
# Name Service Switch config file. This file should be
|
|
|
5 |
# sorted with the most-used services at the beginning.
|
|
|
6 |
#
|
|
|
7 |
# Valid databases are: aliases, ethers, group, gshadow, hosts,
|
|
|
8 |
# initgroups, netgroup, networks, passwd, protocols, publickey,
|
|
|
9 |
# rpc, services, and shadow.
|
|
|
10 |
#
|
|
|
11 |
# Valid service provider entries include (in alphabetical order):
|
|
|
12 |
#
|
|
|
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)
|
|
|
20 |
#
|
|
|
21 |
# See `info libc 'NSS Basics'` for more information.
|
|
|
22 |
#
|
|
|
23 |
# Commonly used alternative service providers (may need installation):
|
|
|
24 |
#
|
|
|
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
|
|
|
35 |
#
|
|
|
36 |
# Notes:
|
|
|
37 |
#
|
|
|
38 |
# 'sssd' performs its own 'files'-based caching, so it should generally
|
|
|
39 |
# come before 'files'.
|
|
|
40 |
#
|
|
|
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.
|
|
|
44 |
#
|
|
|
45 |
# Installation instructions:
|
|
|
46 |
#
|
|
|
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:
|
|
|
50 |
#
|
|
|
51 |
# passwd: db files
|
|
|
52 |
# shadow: db files
|
|
|
53 |
# group: db files
|
|
|
54 |
|
|
|
55 |
# In order of likelihood of use to accelerate lookup.
|
|
|
56 |
passwd: sss files
|
|
|
57 |
shadow: files sss
|
|
|
58 |
group: sss files
|
|
|
59 |
hosts: files dns myhostname
|
|
|
60 |
services: files sss
|
|
|
61 |
netgroup: sss
|
|
|
62 |
automount: files sss
|
|
|
63 |
|
|
|
64 |
aliases: files
|
|
|
65 |
ethers: files
|
|
|
66 |
gshadow: files
|
|
|
67 |
# Allow initgroups to default to the setting for group.
|
|
|
68 |
# initgroups: files
|
|
|
69 |
networks: files dns
|
|
|
70 |
protocols: files
|
|
|
71 |
publickey: files
|
|
|
72 |
rpc: files
|