Start new session for nscd, drop privilegs to configured user if requested
[kopensolaris-gnu/glibc.git] / nscd / nscd.conf
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 #
12 #       enable-cache            <service> <yes|no>
13 #       positive-time-to-live   <service> <time in seconds>
14 #       negative-time-to-live   <service> <time in seconds>
15 #       suggested-size          <service> <prime number>
16 #       check-files             <service> <yes|no>
17 #
18 # Currently supported cache names (services): passwd, group, hosts
19 #
20
21
22 #       logfile                 /var/log/nscd.log
23 #       threads                 6
24
25         debug-level             0
26
27         enable-cache            passwd          yes
28         positive-time-to-live   passwd          600
29         negative-time-to-live   passwd          20
30         suggested-size          passwd          211
31         check-files             passwd          yes
32
33         enable-cache            group           yes
34         positive-time-to-live   group           3600
35         negative-time-to-live   group           60
36         suggested-size          group           211
37         check-files             group           yes
38
39         enable-cache            hosts           yes
40         positive-time-to-live   hosts           3600
41         negative-time-to-live   hosts           20
42         suggested-size          hosts           211
43         check-files             hosts           yes