blob: 39b875912dbaf730588e59a3dfd34a014057c83d [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#
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 4
35# max-threads 32
36# server-user nobody
37# stat-user somebody
38 debug-level 0
39# reload-count 5
40 paranoia no
41# restart-interval 3600
42
43 enable-cache passwd yes
44 positive-time-to-live passwd 600
45 negative-time-to-live passwd 20
46 suggested-size passwd 211
47 check-files passwd yes
48 persistent passwd yes
49 shared passwd yes
50 max-db-size passwd 33554432
51 auto-propagate passwd yes
52
53 enable-cache group yes
54 positive-time-to-live group 3600
55 negative-time-to-live group 60
56 suggested-size group 211
57 check-files group yes
58 persistent group yes
59 shared group yes
60 max-db-size group 33554432
61 auto-propagate group yes
62
63 enable-cache hosts yes
64 positive-time-to-live hosts 3600
65 negative-time-to-live hosts 20
66 suggested-size hosts 211
67 check-files hosts yes
68 persistent hosts yes
69 shared hosts yes
70 max-db-size hosts 33554432
71
72 enable-cache services yes
73 positive-time-to-live services 28800
74 negative-time-to-live services 20
75 suggested-size services 211
76 check-files services yes
77 persistent services yes
78 shared services yes
79 max-db-size services 33554432
80
81 enable-cache netgroup yes
82 positive-time-to-live netgroup 28800
83 negative-time-to-live netgroup 20
84 suggested-size netgroup 211
85 check-files netgroup yes
86 persistent netgroup yes
87 shared netgroup yes
88 max-db-size netgroup 33554432