4 # An example Name Service Cache config file. This file is needed by nscd.
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 # stat-user <user who is allowed to request statistics>
14 # reload-count unlimited|<number>
16 # enable-cache <service> <yes|no>
17 # positive-time-to-live <service> <time in seconds>
18 # negative-time-to-live <service> <time in seconds>
19 # suggested-size <service> <prime number>
20 # check-files <service> <yes|no>
21 # persistent <service> <yes|no>
22 # shared <service> <yes|no>
24 # Currently supported cache names (services): passwd, group, hosts
28 # logfile /var/log/nscd.log
35 enable-cache passwd yes
36 positive-time-to-live passwd 600
37 negative-time-to-live passwd 20
38 suggested-size passwd 211
39 check-files passwd yes
43 enable-cache group yes
44 positive-time-to-live group 3600
45 negative-time-to-live group 60
46 suggested-size group 211
51 enable-cache hosts yes
52 positive-time-to-live hosts 3600
53 negative-time-to-live hosts 20
54 suggested-size hosts 211