Unix for Beginners
Unix Shell Programming
Unix Useful References
Unix Useful Resources
Copyright © 2014 by tutorialspoint
nscd - Unix, Linux Command
/usr/sbin/nscd - name service cache daemon
Nscd is a daemon that provides a cache for the most common name service
requests. The default configuration file,
/etc/nscd.conf, determines the behavior of the cache daemon. See
Nscd provides cacheing for accesses of the
databases through standard libc interfaces, such as
There are two caches for each database:
a positive one for items found, and a negative one
for items not found. Each cache has a separate TTL (time-to-live)
period for its data.
Note that the shadow file is specifically not cached.
calls remain uncached as a result.
As a result of this behavior there is not possible to change non-nscd user
to another non-nscd user via su service when nscd is running.
will give you a list with all options and what they do.
Nscd doesnt know anything about the underlaying protocols for a
service. This also means, that if you change
/etc/resolv.conf for DNS queries, nscd will continue to use the old one if you have
/etc/nsswitch.conf to use DNS for host lookups. In such a case, you need to restart
nscd was written by Thorsten Kukuk and Ulrich Drepper.