| [344] | 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 | # |
|---|
| 27 | # Currently supported cache names (services): passwd, group, hosts |
|---|
| 28 | # |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | # logfile /var/log/nscd.log |
|---|
| 32 | # threads 6 |
|---|
| 33 | # max-threads 128 |
|---|
| 34 | # server-user nobody |
|---|
| 35 | # stat-user somebody |
|---|
| 36 | debug-level 0 |
|---|
| 37 | # reload-count 5 |
|---|
| 38 | paranoia no |
|---|
| 39 | # restart-interval 3600 |
|---|
| 40 | |
|---|
| 41 | enable-cache passwd yes |
|---|
| 42 | positive-time-to-live passwd 600 |
|---|
| 43 | # negative-time-to-live passwd 20 |
|---|
| 44 | negative-time-to-live passwd 3 |
|---|
| 45 | suggested-size passwd 211 |
|---|
| 46 | check-files passwd yes |
|---|
| 47 | # persistent passwd yes |
|---|
| 48 | persistent passwd no |
|---|
| 49 | shared passwd yes |
|---|
| 50 | |
|---|
| 51 | enable-cache group yes |
|---|
| 52 | positive-time-to-live group 3600 |
|---|
| 53 | # negative-time-to-live group 60 |
|---|
| 54 | negative-time-to-live group 3 |
|---|
| 55 | suggested-size group 211 |
|---|
| 56 | check-files group yes |
|---|
| 57 | # persistent group yes |
|---|
| 58 | persistent group no |
|---|
| 59 | shared group yes |
|---|
| 60 | |
|---|
| 61 | enable-cache hosts yes |
|---|
| 62 | positive-time-to-live hosts 3600 |
|---|
| 63 | negative-time-to-live hosts 20 |
|---|
| 64 | suggested-size hosts 211 |
|---|
| 65 | check-files hosts yes |
|---|
| 66 | persistent hosts yes |
|---|
| 67 | shared hosts yes |
|---|