]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man8/nscd.8
Corrected minor spelling/wording mistakes (i.e., changes
[thirdparty/man-pages.git] / man8 / nscd.8
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-01 "GNU" "Linux Programmer's Manual"
21 .SH NAME
22 /usr/sbin/nscd \- name service cache daemon
23 .SH DESCRIPTION
24 Nscd is a daemon that provides a cache for the most common name service
25 requests.
26 The default configuration file,
27 .IR /etc/nscd.conf ,
28 determines the behavior of the cache daemon.
29 See
30 .BR nscd.conf (5).
31
32 Nscd provides caching for accesses of the
33 .BR passwd (5),
34 .BR group (5),
35 and
36 .BR hosts (5)
37 databases through standard libc interfaces, such as
38 .BR getpwnam (3),
39 .BR getpwuid (3),
40 .BR getgrnam (3),
41 .BR getgrgid (3),
42 .BR gethostbyname (3),
43 and others.
44
45 There are two caches for each database:
46 a positive one for items found, and a negative one
47 for items not found.
48 Each cache has a separate TTL (time-to-live)
49 period for its data.
50 Note that the shadow file is specifically not cached.
51 .BR getspnam (3)
52 calls remain uncached as a result.
53 .SH OPTIONS
54 .TP
55 .B "\-\-help"
56 will give you a list with all options and what they do.
57 .SH NOTES
58 Nscd doesn't know anything about the underlying protocols for a
59 service.
60 This also means, that if you change
61 .I /etc/resolv.conf
62 for DNS queries, nscd will continue to use the old one if you have
63 configured
64 .I /etc/nsswitch.conf
65 to use DNS for host lookups.
66 In such a case, you need to restart
67 nscd.
68 .SH "SEE ALSO"
69 .BR nscd.conf (5),
70 .BR nsswitch.conf (5)
71 .\" .SH AUTHOR
72 .\" .B nscd
73 .\" was written by Thorsten Kukuk and Ulrich Drepper.