4 # An example Name Service Cache config file. This file is needed by nscd.
10 # threads <initial #threads to use>
11 # max-threads <maximum #threads to use>
12 # server-user <user to run server as instead of root>
13 # server-user is ignored if nscd is started with -S parameters
14 # stat-user <user who is allowed to request statistics>
15 # reload-count unlimited|<number>
17 # restart-interval <time in seconds>
19 # enable-cache <service> <yes|no>
20 # positive-time-to-live <service> <time in seconds>
21 # negative-time-to-live <service> <time in seconds>
22 # suggested-size <service> <prime number>
23 # check-files <service> <yes|no>
24 # persistent <service> <yes|no>
25 # shared <service> <yes|no>
27 # Currently supported cache names (services): passwd, group, hosts
31 # logfile /var/log/nscd.log
39 # restart-interval 3600
41 enable-cache passwd yes
42 positive-time-to-live passwd 600
43 negative-time-to-live passwd 20
44 suggested-size passwd 211
45 check-files passwd yes
49 enable-cache group yes
50 positive-time-to-live group 3600
51 negative-time-to-live group 60
52 suggested-size group 211
57 enable-cache hosts yes
58 positive-time-to-live hosts 3600
59 negative-time-to-live hosts 20
60 suggested-size hosts 211