2019-04-27 10:09:03 +00:00
|
|
|
#
|
|
|
|
# /etc/nsswitch.conf
|
|
|
|
#
|
|
|
|
# An example Name Service Switch config file. This file should be
|
|
|
|
# sorted with the most-used services at the beginning.
|
|
|
|
#
|
|
|
|
# The entry '[NOTFOUND=return]' means that the search for an
|
|
|
|
# entry should stop if the search in the previous entry turned
|
|
|
|
# up nothing. Note that if the search failed due to some other reason
|
|
|
|
# (like no NIS server responding) then the search continues with the
|
|
|
|
# next entry.
|
|
|
|
#
|
|
|
|
# Legal entries are:
|
|
|
|
#
|
|
|
|
# compat Use compatibility setup for NIS
|
|
|
|
# db Use the local database (.db) files
|
|
|
|
# dns Use DNS (Domain Name Service)
|
|
|
|
# files Use the local files
|
|
|
|
# hesiod Use Hesiod for user lookups
|
|
|
|
# ldap Use LDAP for user lookups
|
|
|
|
# mdns Use Multicast DNS (aka Zeroconf/Rendezvous) for host lookups
|
|
|
|
# mdns_minimal Like mdns, but only resolve *.local
|
|
|
|
# mdns4 Like mdns, but only for IPv4
|
|
|
|
# mdns6 Like mdns, but only for IPv6
|
|
|
|
# mdns4_minimal Like mdns4, but only resolve *.local
|
|
|
|
# mdns6_minimal Like mdns6, but only resolve *.local
|
|
|
|
# myhostname Resolves local name
|
|
|
|
# nis or yp Use NIS (NIS version 2), also called YP
|
|
|
|
# nisplus or nis+ Use NIS+ (NIS version 3)
|
2020-02-01 12:49:46 +00:00
|
|
|
# pgsql Use NetBIOS for host lookups
|
2019-04-27 10:09:03 +00:00
|
|
|
# sss Use SSSD (System Security Services Daemon)
|
|
|
|
# tcb Use TCB for host lookups
|
|
|
|
# tinycdb Use a constant database for user lookups
|
|
|
|
# wins Use NetBIOS for host lookups
|
|
|
|
# winbind Uses a Windows or Samba domain controller for host lookups
|
|
|
|
# [NOTFOUND=return] Stop searching if not found so far
|
|
|
|
#
|
|
|
|
# For more information, please read the nsswitch.conf.5 manual page.
|
|
|
|
#
|
|
|
|
|
|
|
|
# passwd: files nis
|
|
|
|
# shadow: files nis
|
|
|
|
# group: files nis
|
|
|
|
|
|
|
|
passwd: files systemd
|
|
|
|
shadow: files systemd
|
|
|
|
group: files systemd
|
|
|
|
|
2020-09-14 19:56:04 +00:00
|
|
|
hosts: files resolve [!UNAVAIL=return] dns myhostname nis wins mdns4_minimal
|
2019-04-27 10:09:03 +00:00
|
|
|
networks: files
|
|
|
|
|
|
|
|
services: files
|
|
|
|
protocols: files
|
|
|
|
rpc: files
|
|
|
|
ethers: files
|
|
|
|
netmasks: files
|
|
|
|
netgroup: files
|
|
|
|
publickey: files
|
|
|
|
|
|
|
|
bootparams: files
|
|
|
|
automount: files
|
|
|
|
aliases: files
|