nscd.conf 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #
  2. # /etc/nscd.conf
  3. #
  4. # An example Name Service Cache config file. This file is needed by nscd.
  5. #
  6. # Legal entries are:
  7. #
  8. # logfile <file>
  9. # debug-level <level>
  10. # threads <#threads to use>
  11. # server-user <user to run server as instead of root>
  12. # server-user is ignored if nscd is started with -S parameters
  13. #
  14. # enable-cache <service> <yes|no>
  15. # positive-time-to-live <service> <time in seconds>
  16. # negative-time-to-live <service> <time in seconds>
  17. # suggested-size <service> <prime number>
  18. # check-files <service> <yes|no>
  19. #
  20. # Currently supported cache names (services): passwd, group, hosts
  21. #
  22. # logfile /var/log/nscd.log
  23. # threads 6
  24. server-user nscd
  25. debug-level 0
  26. enable-cache passwd yes
  27. positive-time-to-live passwd 600
  28. negative-time-to-live passwd 20
  29. suggested-size passwd 211
  30. check-files passwd yes
  31. enable-cache group yes
  32. positive-time-to-live group 3600
  33. negative-time-to-live group 60
  34. suggested-size group 211
  35. check-files group yes
  36. enable-cache hosts yes
  37. positive-time-to-live hosts 3600
  38. negative-time-to-live hosts 20
  39. suggested-size hosts 211
  40. check-files hosts yes