203 |
- |
1 |
# Generated by authselect on Thu Jul 22 06:32:00 2021
|
192 |
- |
2 |
# Do not modify this file manually.
|
|
|
3 |
|
|
|
4 |
# If you want to make changes to nsswitch.conf please modify
|
|
|
5 |
# /etc/authselect/user-nsswitch.conf and run 'authselect apply-changes'.
|
|
|
6 |
#
|
|
|
7 |
# Note that your changes may not be applied as they may be
|
|
|
8 |
# overwritten by selected profile. Maps set in the authselect
|
|
|
9 |
# profile takes always precedence and overwrites the same maps
|
|
|
10 |
# set in the user file. Only maps that are not set by the profile
|
|
|
11 |
# are applied from the user file.
|
|
|
12 |
#
|
|
|
13 |
# For example, if the profile sets:
|
|
|
14 |
# passwd: sss files
|
|
|
15 |
# and /etc/authselect/user-nsswitch.conf contains:
|
|
|
16 |
# passwd: files
|
|
|
17 |
# hosts: files dns
|
|
|
18 |
# the resulting generated nsswitch.conf will be:
|
|
|
19 |
# passwd: sss files # from profile
|
|
|
20 |
# hosts: files dns # from user file
|
|
|
21 |
|
|
|
22 |
passwd: sss files systemd
|
|
|
23 |
group: sss files systemd
|
|
|
24 |
netgroup: sss files
|
|
|
25 |
automount: sss files
|
|
|
26 |
services: sss files
|
|
|
27 |
|
|
|
28 |
# Included from /etc/authselect/user-nsswitch.conf
|
|
|
29 |
|
|
|
30 |
#
|
|
|
31 |
# /etc/nsswitch.conf
|
|
|
32 |
#
|
|
|
33 |
# Name Service Switch config file. This file should be
|
|
|
34 |
# sorted with the most-used services at the beginning.
|
|
|
35 |
#
|
|
|
36 |
# Valid databases are: aliases, ethers, group, gshadow, hosts,
|
|
|
37 |
# initgroups, netgroup, networks, passwd, protocols, publickey,
|
|
|
38 |
# rpc, services, and shadow.
|
|
|
39 |
#
|
|
|
40 |
# Valid service provider entries include (in alphabetical order):
|
|
|
41 |
#
|
|
|
42 |
# compat Use /etc files plus *_compat pseudo-db
|
|
|
43 |
# db Use the pre-processed /var/db files
|
|
|
44 |
# dns Use DNS (Domain Name Service)
|
|
|
45 |
# files Use the local files in /etc
|
|
|
46 |
# hesiod Use Hesiod (DNS) for user lookups
|
|
|
47 |
# nis Use NIS (NIS version 2), also called YP
|
|
|
48 |
# nisplus Use NIS+ (NIS version 3)
|
|
|
49 |
#
|
|
|
50 |
# See `info libc 'NSS Basics'` for more information.
|
|
|
51 |
#
|
|
|
52 |
# Commonly used alternative service providers (may need installation):
|
|
|
53 |
#
|
|
|
54 |
# ldap Use LDAP directory server
|
|
|
55 |
# myhostname Use systemd host names
|
|
|
56 |
# mymachines Use systemd machine names
|
|
|
57 |
# mdns*, mdns*_minimal Use Avahi mDNS/DNS-SD
|
|
|
58 |
# resolve Use systemd resolved resolver
|
|
|
59 |
# sss Use System Security Services Daemon (sssd)
|
|
|
60 |
# systemd Use systemd for dynamic user option
|
|
|
61 |
# winbind Use Samba winbind support
|
|
|
62 |
# wins Use Samba wins support
|
|
|
63 |
# wrapper Use wrapper module for testing
|
|
|
64 |
#
|
|
|
65 |
# Notes:
|
|
|
66 |
#
|
|
|
67 |
# 'sssd' performs its own 'files'-based caching, so it should generally
|
|
|
68 |
# come before 'files'.
|
|
|
69 |
#
|
|
|
70 |
# WARNING: Running nscd with a secondary caching service like sssd may
|
|
|
71 |
# lead to unexpected behaviour, especially with how long
|
|
|
72 |
# entries are cached.
|
|
|
73 |
#
|
|
|
74 |
# Installation instructions:
|
|
|
75 |
#
|
|
|
76 |
# To use 'db', install the appropriate package(s) (provide 'makedb' and
|
|
|
77 |
# libnss_db.so.*), and place the 'db' in front of 'files' for entries
|
|
|
78 |
# you want to be looked up first in the databases, like this:
|
|
|
79 |
#
|
|
|
80 |
# passwd: db files
|
|
|
81 |
# shadow: db files
|
|
|
82 |
# group: db files
|
|
|
83 |
|
|
|
84 |
# In order of likelihood of use to accelerate lookup.
|
|
|
85 |
shadow: files sss
|
|
|
86 |
hosts: files dns myhostname
|
|
|
87 |
|
|
|
88 |
aliases: files
|
|
|
89 |
ethers: files
|
|
|
90 |
gshadow: files
|
|
|
91 |
# Allow initgroups to default to the setting for group.
|
|
|
92 |
# initgroups: files
|
|
|
93 |
networks: files dns
|
|
|
94 |
protocols: files
|
|
|
95 |
publickey: files
|
|
|
96 |
rpc: files
|