Siddhesh Poyarekar 17b00fb
#
Siddhesh Poyarekar 17b00fb
# /etc/nsswitch.conf
Siddhesh Poyarekar 17b00fb
#
Siddhesh Poyarekar 17b00fb
# An example Name Service Switch config file. This file should be
Siddhesh Poyarekar 17b00fb
# sorted with the most-used services at the beginning.
Siddhesh Poyarekar 17b00fb
#
Siddhesh Poyarekar 17b00fb
# The entry '[NOTFOUND=return]' means that the search for an
Siddhesh Poyarekar 17b00fb
# entry should stop if the search in the previous entry turned
Siddhesh Poyarekar 17b00fb
# up nothing. Note that if the search failed due to some other reason
Siddhesh Poyarekar 17b00fb
# (like no NIS server responding) then the search continues with the
Siddhesh Poyarekar 17b00fb
# next entry.
Siddhesh Poyarekar 17b00fb
#
Siddhesh Poyarekar 17b00fb
# Valid entries include:
Siddhesh Poyarekar 17b00fb
#
Siddhesh Poyarekar 17b00fb
#	nisplus			Use NIS+ (NIS version 3)
Siddhesh Poyarekar 17b00fb
#	nis			Use NIS (NIS version 2), also called YP
Siddhesh Poyarekar 17b00fb
#	dns			Use DNS (Domain Name Service)
a747c09
#	files			Use the local files in /etc
a747c09
#	db			Use the pre-processed /var/db files
a747c09
#	compat			Use /etc files plus *_compat pseudo-databases
a747c09
#	hesiod			Use Hesiod (DNS) for user lookups
a747c09
#	sss			Use sssd (System Security Services Daemon)
Siddhesh Poyarekar 17b00fb
#	[NOTFOUND=return]	Stop searching if not found so far
Siddhesh Poyarekar 17b00fb
#
a747c09
# 'sssd' performs its own 'files'-based caching, so it should
a747c09
# generally come before 'files'.
82a9734
#
82a9734
# WARNING: Running nscd with a secondary caching service like sssd may lead to
82a9734
# 	   unexpected behaviour, especially with how long entries are cached.
Siddhesh Poyarekar 17b00fb
a747c09
# To use 'db', install the nss_db package, and put the 'db' in front
a747c09
# of 'files' for entries you want to be looked up first in the
a747c09
# databases, like this:
Siddhesh Poyarekar 17b00fb
#
a747c09
# passwd:    db files
a747c09
# shadow:    db files
a747c09
# group:     db files
Siddhesh Poyarekar 17b00fb
305fa9f
passwd:     sss files
6776785
shadow:     files sss
305fa9f
group:      sss files
Siddhesh Poyarekar 17b00fb
a747c09
hosts:      files dns myhostname
Siddhesh Poyarekar 17b00fb
a747c09
bootparams: files
Siddhesh Poyarekar 17b00fb
Siddhesh Poyarekar 17b00fb
ethers:     files
Siddhesh Poyarekar 17b00fb
netmasks:   files
Siddhesh Poyarekar 17b00fb
networks:   files
Siddhesh Poyarekar 17b00fb
protocols:  files
Siddhesh Poyarekar 17b00fb
rpc:        files
6776785
services:   files sss
Siddhesh Poyarekar 17b00fb
a747c09
netgroup:   sss
Siddhesh Poyarekar 17b00fb
a747c09
publickey:  files
Siddhesh Poyarekar 17b00fb
a747c09
automount:  files sss
a747c09
aliases:    files