]>
Commit | Line | Data |
---|---|---|
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 |
24 | Nscd is a daemon that provides a cache for the most common name service | |
25 | requests. The default configuration file, | |
26 | .IR /etc/nscd.conf , | |
27 | determines the behavior of the cache daemon. See | |
28 | .BR nscd.conf (5). | |
29 | ||
30 | Nscd provides cacheing for accesses of the | |
31 | .BR passwd (5), | |
32 | .BR group (5), | |
33 | and | |
34 | .BR hosts(5) | |
35 | databases 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), | |
41 | and others. | |
42 | ||
43 | There are two caches for each database: | |
44 | a positive one for items found, and a negative one | |
45 | for items not found. Each cache has a separate TTL (time-to-live) | |
46 | period for its data. | |
47 | Note that the shadow file is specifically not cached. | |
48 | .BR getspnam (3) | |
49 | calls remain uncached as a result. | |
fea681da MK |
50 | .SH OPTIONS |
51 | .TP | |
52 | .B "\-\-help" | |
53 | will give you a list with all options and what they do. | |
fea681da MK |
54 | .SH NOTES |
55 | Nscd doesn't know anything about the underlaying protocols for a | |
56 | service. This also means, that if you change | |
57 | .I /etc/resolv.conf | |
58 | for DNS queries, nscd will continue to use the old one if you have | |
59 | configured | |
60 | .I /etc/nsswitch.conf | |
61 | to use DNS for host lookups. In such a case, you need to restart | |
62 | nscd. | |
fea681da MK |
63 | .SH "SEE ALSO" |
64 | .BR nscd.conf (5), | |
65 | .BR nsswitch.conf (5) | |
66 | .SH AUTHOR | |
67 | .B nscd | |
68 | was written by Thorsten Kukuk and Ulrich Drepper. |