OSDN Git Service

9a113a5b342d921b3c5e858f4dca243e3785476f
[linuxjm/LDP_man-pages.git] / draft / 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 .\" 2008-12-05 Petr Baudis <pasky@suse.cz>
21 .\"     Rewrite the NOTES section to reflect modern reality
22 .\"
23 .\" Japanese Version Copyright (c) 2001, 2005 Yuichi SATO
24 .\"         all rights reserved.
25 .\" Translated Fri Jun  8 23:20:57 JST 2001
26 .\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
27 .\" Updated & Modified Sat Jan 22 14:11:51 JST 2005
28 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
29 .\" Updated 2009-03-05 by Kentaro Shirakata <argrath@ub32.org>
30 .\"
31 .TH NSCD 8 2008-12-05 "GNU" "Linux Programmer's Manual"
32 .\"O .SH NAME
33 .SH 名前
34 .\"O /usr/sbin/nscd \- name service cache daemon
35 /usr/sbin/nscd \- ネームサービスキャッシュデーモン
36 .\"O .SH DESCRIPTION
37 .SH 説明
38 .\"O Nscd is a daemon that provides a cache for the most common name service
39 .\"O requests.
40 .\"O The default configuration file,
41 .\"O .IR /etc/nscd.conf ,
42 .\"O determines the behavior of the cache daemon.
43 .\"O See
44 .\"O .BR nscd.conf (5).
45 nscd は一般的なネームサービスに必要な多くのものを
46 キャッシュとして提供するデーモンである。
47 デフォルトの設定ファイル
48 .I /etc/nscd.conf
49 でキャッシュデーモンの動作を決定する。
50 .BR nscd.conf (5)
51 を見よ。
52
53 .\"O Nscd provides caching for accesses of the
54 .\"O .BR passwd (5),
55 .\"O .BR group (5),
56 .\"O and
57 .\"O .BR hosts (5)
58 .\"O databases through standard libc interfaces, such as
59 .\"O .BR getpwnam (3),
60 .\"O .BR getpwuid (3),
61 .\"O .BR getgrnam (3),
62 .\"O .BR getgrgid (3),
63 .\"O .BR gethostbyname (3),
64 .\"O and others.
65 nscd は
66 .BR passwd (5),
67 .BR group (5),
68 .BR hosts (5)
69 データベースへのアクセスのキャッシュを
70 .BR getpwnam (3),
71 .BR getpwuid (3),
72 .BR getgrnam (3),
73 .BR getgrgid (3),
74 .BR gethostbyname (3)
75 などの標準 libc インターフェースを通して提供する。
76
77 .\"O There are two caches for each database:
78 .\"O a positive one for items found, and a negative one
79 .\"O for items not found.
80 .\"O Each cache has a separate TTL (time-to-live)
81 .\"O period for its data.
82 .\"O Note that the shadow file is specifically not cached.
83 .\"O .BR getspnam (3)
84 .\"O calls remain uncached as a result.
85 各データベースには 2 つのキャッシュがある。
86 肯定的 (positive) なキャッシュは見つかったアイテムをキャッシュし、
87 否定的 (negative) なキャッシュは見つからなかったアイテムをキャッシュする。
88 各キャッシュはデータの TTL (time-to-live, 生存時間) を個別に持っている。
89 特例として shadow ファイルはキャッシュされない点に注意すること。
90 .BR getspnam (3)
91 を呼び出しても結果としてキャッシュされないままになる。
92 .\"O .SH OPTIONS
93 .SH オプション
94 .TP
95 .B "\-\-help"
96 .\"O will give you a list with all options and what they do.
97 全てのオプションとその動作をリストして表示する。
98 .\"O .SH NOTES
99 .SH 注意
100 .\"O The daemon will try to watch for changes in configuration files
101 .\"O appropriate for each database (e.g.
102 .\"O .I /etc/passwd
103 .\"O for the
104 .\"O .I passwd
105 .\"O database or
106 .\"O .I /etc/hosts
107 .\"O and
108 .\"O .I /etc/resolv.conf
109 .\"O for the
110 .\"O .I hosts
111 .\"O database), and flush the cache when these are changed.
112 デーモンは(
113 .I passwd
114 データベースについては
115 .IR /etc/passwd 、
116 .I hosts
117 データベースについては
118 .I /etc/hosts
119
120 .I /etc/resolv.conf
121 というような)それぞれのデータベースのための設定ファイルを見張って、
122 これらが変更されるとキャッシュをフラッシュする。
123 .\"O However, this will happen only after a short delay (unless the
124 .\"O .BR inotify (7)
125 .\"O mechanism is available and glibc 2.9 or later is available),
126 .\"O and this auto-detection does not cover configuration files
127 .\"O required by nonstandard NSS modules, if any are specified in
128 .\"O .IR /etc/nsswitch.conf .
129 しかし、これは(
130 .BR inotify (7)
131 が利用可能で、glibc 2.9 以降が利用可能な場合を除いて)
132 短い遅延の後に起こり、またこの自動検出は非標準 NSS モジュールが
133 .I /etc/nsswitch.conf
134 で指定されている場合はその設定ファイルには対応しない。
135 .\"O In that case, you need to run the following command
136 .\"O after changing the configuration file of the database so that
137 .\"O .B nscd
138 .\"O invalidates its cache:
139 この場合、データベースの設定ファイルを変更した後、
140 .B nscd
141 のキャッシュを無効にするために以下のコマンドを実行する必要がある:
142
143     $ \fBnscd -i\fP \fI<database>\fP
144 .\"O .SH "SEE ALSO"
145 .SH 関連項目
146 .BR nscd.conf (5),
147 .BR nsswitch.conf (5)
148 .\"O .\" .SH AUTHOR
149 .\" .SH 著者
150 .\"O .\" .B nscd
151 .\"O .\" was written by Thorsten Kukuk and Ulrich Drepper.
152 .\" .B nscd
153 .\" は Thorsten Kukuk と Ulrich Drepper によって書かれた。