nsswitch.conf 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. #
  2. # /etc/nsswitch.conf
  3. #
  4. # An example 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. #
  19. # See `info libc 'NSS Basics'` for more information.
  20. #
  21. # Commonly used alternative service providers (may need installation):
  22. #
  23. # ldap Use LDAP directory server
  24. # myhostname Use systemd host names
  25. # mymachines Use systemd machine names
  26. # mdns*, mdns*_minimal Use Avahi mDNS/DNS-SD
  27. # resolve Use systemd resolved resolver
  28. # sss Use System Security Services Daemon (sssd)
  29. # systemd Use systemd for dynamic user option
  30. # winbind Use Samba winbind support
  31. # wins Use Samba wins support
  32. # wrapper Use wrapper module for testing
  33. #
  34. # Notes:
  35. #
  36. # 'sssd' performs its own 'files'-based caching, so it should generally
  37. # come before 'files'.
  38. #
  39. # WARNING: Running nscd with a secondary caching service like sssd may
  40. # lead to unexpected behaviour, especially with how long
  41. # entries are cached.
  42. #
  43. # Installation instructions:
  44. #
  45. # To use 'db', install the appropriate package(s) (provide 'makedb' and
  46. # libnss_db.so.*), and place the 'db' in front of 'files' for entries
  47. # you want to be looked up first in the databases, like this:
  48. #
  49. # passwd: db files
  50. # shadow: db files
  51. # group: db files
  52. # In alphabetical order. Re-order as required to optimize performance.
  53. aliases: files
  54. ethers: files
  55. group: files
  56. gshadow: files
  57. hosts: files dns
  58. # Allow initgroups to default to the setting for group.
  59. # initgroups: files
  60. netgroup: files
  61. networks: files dns
  62. passwd: files
  63. protocols: files
  64. publickey: files
  65. rpc: files
  66. shadow: files
  67. services: files