]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man8/nscd.8
ffix
[thirdparty/man-pages.git] / man8 / nscd.8
CommitLineData
fea681da
MK
1.\" -*- nroff -*-
2.\" Copyright 1999 SuSE GmbH Nuernberg, Germany
3.\" Author: Thorsten Kukuk <kukuk@suse.de>
4.\"
5.\" This program is free software; you can redistribute it and/or
6.\" modify it under the terms of the GNU General Public License as
7.\" published by the Free Software Foundation; either version 2 of the
8.\" License, or (at your option) any later version.
9.\"
10.\" This program is distributed in the hope that it will be useful,
11.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
12.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13.\" General Public License for more details.
14.\"
15.\" You should have received a copy of the GNU General Public
16.\" License along with this program; see the file COPYING. If not,
17.\" write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18.\" Boston, MA 02111-1307, USA.
19.\"
20.TH NSCD 8 1999-10 "GNU C Library" "Linux Programmer's Manual"
21.SH NAME
4d9b6984 22/usr/sbin/nscd \- name service cache daemon
fea681da
MK
23.SH DESCRIPTION
24Nscd is a daemon that provides a cache for the most common name service
25requests. The default configuration file,
26.IR /etc/nscd.conf ,
27determines the behavior of the cache daemon. See
28.BR nscd.conf (5).
29
30Nscd provides cacheing for accesses of the
31.BR passwd (5),
32.BR group (5),
33and
34.BR hosts(5)
35databases through standard libc interfaces, such as
36.BR getpwnam (3),
37.BR getpwuid (3),
38.BR getgrnam (3),
39.BR getgrgid (3),
40.BR gethostbyname (3),
41and others.
42
43There are two caches for each database:
44a positive one for items found, and a negative one
45for items not found. Each cache has a separate TTL (time-to-live)
46period for its data.
47Note that the shadow file is specifically not cached.
48.BR getspnam (3)
49calls remain uncached as a result.
fea681da
MK
50.SH OPTIONS
51.TP
52.B "\-\-help"
53will give you a list with all options and what they do.
fea681da
MK
54.SH NOTES
55Nscd doesn't know anything about the underlaying protocols for a
56service. This also means, that if you change
57.I /etc/resolv.conf
58for DNS queries, nscd will continue to use the old one if you have
59configured
60.I /etc/nsswitch.conf
61to use DNS for host lookups. In such a case, you need to restart
62nscd.
fea681da
MK
63.SH "SEE ALSO"
64.BR nscd.conf (5),
65.BR nsswitch.conf (5)
66.SH AUTHOR
67.B nscd
68was written by Thorsten Kukuk and Ulrich Drepper.