Modernise nsswitch.conf defaults (#1581809)

This commit is contained in:
Florian Weimer 2018-06-01 12:05:26 +02:00
parent f21f7f7c7f
commit a747c093bb

View File

@ -15,37 +15,31 @@
# nisplus Use NIS+ (NIS version 3) # nisplus Use NIS+ (NIS version 3)
# nis Use NIS (NIS version 2), also called YP # nis Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service) # dns Use DNS (Domain Name Service)
# files Use the local files # files Use the local files in /etc
# db Use the local database (.db) files # db Use the pre-processed /var/db files
# compat Use NIS on compat mode # compat Use /etc files plus *_compat pseudo-databases
# hesiod Use Hesiod for user lookups # hesiod Use Hesiod (DNS) for user lookups
# sss Use sssd (System Security Services Daemon)
# [NOTFOUND=return] Stop searching if not found so far # [NOTFOUND=return] Stop searching if not found so far
# #
# 'sssd' performs its own 'files'-based caching, so it should
# generally come before 'files'.
# To use db, put the "db" in front of "files" for entries you want to be # To use 'db', install the nss_db package, and put the 'db' in front
# looked up first in the databases # of 'files' for entries you want to be looked up first in the
# databases, like this:
# #
# Example: # passwd: db files
#passwd: db files nisplus nis # shadow: db files
#shadow: db files nisplus nis # group: db files
#group: db files nisplus nis
passwd: sss files passwd: sss files
shadow: files sss shadow: files sss
group: sss files group: sss files
#hosts: db files nisplus nis dns hosts: files dns myhostname
hosts: files dns
# Example - obey only what nisplus tells us... bootparams: files
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
ethers: files ethers: files
netmasks: files netmasks: files
@ -54,9 +48,9 @@ protocols: files
rpc: files rpc: files
services: files sss services: files sss
netgroup: nisplus sss netgroup: sss
publickey: nisplus publickey: files
automount: files nisplus automount: files sss
aliases: files nisplus aliases: files