1NSCD(8) Linux Programmer's Manual NSCD(8)
2
3
4
6 /usr/sbin/nscd - name service cache daemon
7
9 Nscd is a daemon that provides a cache for the most common name service
10 requests. The default configuration file, /etc/nscd.conf, determines
11 the behavior of the cache daemon. See nscd.conf(5).
12
13 Nscd provides cacheing for accesses of the passwd(5), group(5), and
14 hosts(5) databases through standard libc interfaces, such as getpw‐
15 nam(3), getpwuid(3), getgrnam(3), getgrgid(3), gethostbyname(3), and
16 others.
17
18 There are two caches for each database: a positive one for items found,
19 and a negative one for items not found. Each cache has a separate TTL
20 (time-to-live) period for its data. Note that the shadow file is
21 specifically not cached. getspnam(3) calls remain uncached as a
22 result. As a result of this behavior there is not possible to change
23 non-nscd user to another non-nscd user via su service when nscd is run‐
24 ning.
25
26
28 --help will give you a list with all options and what they do.
29
30
32 Nscd doesn't know anything about the underlaying protocols for a ser‐
33 vice. This also means, that if you change /etc/resolv.conf for DNS
34 queries, nscd will continue to use the old one if you have configured
35 /etc/nsswitch.conf to use DNS for host lookups. In such a case, you
36 need to restart nscd.
37
38
40 nscd.conf(5), nsswitch.conf(5)
41
43 nscd was written by Thorsten Kukuk and Ulrich Drepper.
44
45
46
47GNU C Library 1999-10 NSCD(8)