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 <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> |
---|
16 | # paranoia <yes|no> |
---|
17 | # restart-interval <time in seconds> |
---|
18 | # |
---|
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> |
---|
26 | # max-db-size <service> <number bytes> |
---|
27 | # auto-propagate <service> <yes|no> |
---|
28 | # |
---|
29 | # Currently supported cache names (services): passwd, group, hosts, services |
---|
30 | # |
---|
31 | |
---|
32 | |
---|
33 | logfile /var/log/nscd.log |
---|
34 | threads 32 |
---|
35 | max-threads 128 |
---|
36 | server-user nscd |
---|
37 | # stat-user nocpulse |
---|
38 | debug-level 0 |
---|
39 | #31 |
---|
40 | # reload-count 5 |
---|
41 | # paranoia yes |
---|
42 | # restart-interval 3600 |
---|
43 | |
---|
44 | enable-cache passwd yes |
---|
45 | positive-time-to-live passwd 120 |
---|
46 | negative-time-to-live passwd 5 |
---|
47 | suggested-size passwd 1999 |
---|
48 | check-files passwd yes |
---|
49 | persistent passwd no |
---|
50 | shared passwd yes |
---|
51 | max-db-size passwd 33554432 |
---|
52 | auto-propagate passwd yes |
---|
53 | |
---|
54 | enable-cache group yes |
---|
55 | positive-time-to-live group 3600 |
---|
56 | negative-time-to-live group 5 |
---|
57 | suggested-size group 1999 |
---|
58 | check-files group yes |
---|
59 | persistent group no |
---|
60 | shared group yes |
---|
61 | max-db-size group 33554432 |
---|
62 | auto-propagate group yes |
---|
63 | |
---|
64 | enable-cache hosts no |
---|
65 | positive-time-to-live hosts 3600 |
---|
66 | negative-time-to-live hosts 20 |
---|
67 | suggested-size hosts 1999 |
---|
68 | check-files hosts yes |
---|
69 | persistent hosts yes |
---|
70 | shared hosts yes |
---|
71 | max-db-size hosts 33554432 |
---|
72 | |
---|
73 | enable-cache services no |
---|
74 | positive-time-to-live services 28800 |
---|
75 | negative-time-to-live services 20 |
---|
76 | suggested-size services 211 |
---|
77 | check-files services yes |
---|
78 | persistent services yes |
---|
79 | shared services yes |
---|
80 | max-db-size services 33554432 |
---|