1 .\" Copyright 1999 SuSE GmbH Nuernberg, Germany
2 .\" Author: Thorsten Kukuk <kukuk@suse.de>
4 .\" %%%LICENSE_START(GPLv2+_SW_3_PARA)
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.
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.
15 .\" You should have received a copy of the GNU General Public
16 .\" License along with this manual; if not, see
17 .\" <http://www.gnu.org/licenses/>.
20 .\" 2008-12-05 Petr Baudis <pasky@suse.cz>
21 .\" Rewrite the NOTES section to reflect modern reality
23 .\"*******************************************************************
25 .\" This file was generated with po4a. Translate the source file.
27 .\"*******************************************************************
29 .\" Japanese Version Copyright (c) 2001, 2005 Yuichi SATO
30 .\" all rights reserved.
31 .\" Translated Fri Jun 8 23:20:57 JST 2001
32 .\" by Yuichi SATO <ysato@h4.dion.ne.jp>
33 .\" Updated & Modified Sat Jan 22 14:11:51 JST 2005
34 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
35 .\" Updated 2009-03-05 by Kentaro Shirakata <argrath@ub32.org>
37 .TH NSCD 8 2012\-05\-10 GNU "Linux Programmer's Manual"
39 nscd \- ネームサービスキャッシュデーモン
41 nscd は一般的なネームサービスに必要な多くのものを キャッシュとして提供するデーモンである。 デフォルトの設定ファイル
42 \fI/etc/nscd.conf\fP でキャッシュデーモンの動作を決定する。 \fBnscd.conf\fP(5) を見よ。
44 nscd は \fBpasswd\fP(5), \fBgroup\fP(5), \fBhosts\fP(5) データベースへのアクセスのキャッシュを
45 \fBgetpwnam\fP(3), \fBgetpwuid\fP(3), \fBgetgrnam\fP(3), \fBgetgrgid\fP(3),
46 \fBgethostbyname\fP(3) などの標準 libc インターフェースを通して提供する。
48 各データベースには 2 つのキャッシュがある。 肯定的 (positive) なキャッシュは見つかったアイテムをキャッシュし、 否定的
49 (negative) なキャッシュは見つからなかったアイテムをキャッシュする。 各キャッシュはデータの TTL (time\-to\-live, 生存時間)
50 を個別に持っている。 特例として shadow ファイルはキャッシュされない点に注意すること。 \fBgetspnam\fP(3)
51 を呼び出しても結果としてキャッシュされないままになる。
55 全てのオプションとその動作をリストして表示する。
57 デーモンは( \fIpasswd\fP データベースについては \fI/etc/passwd\fP、 \fIhosts\fP データベースについては
58 \fI/etc/hosts\fP と \fI/etc/resolv.conf\fP というような)それぞれのデータベースのための設定ファイルを見張って、
59 これらが変更されるとキャッシュをフラッシュする。 しかし、これは( \fBinotify\fP(7) が利用可能で、glibc 2.9
60 以降が利用可能な場合を除いて) 短い遅延の後に起こり、またこの自動検出は非標準 NSS モジュールが \fI/etc/nsswitch.conf\fP
61 で指定されている場合はその設定ファイルには対応しない。 この場合、データベースの設定ファイルを変更した後、 \fBnscd\fP
62 のキャッシュを無効にするために以下のコマンドを実行する必要がある:
64 $ \fBnscd \-i\fP \fI<database>\fP
68 .\" was written by Thorsten Kukuk and Ulrich Drepper.
69 \fBnscd.conf\fP(5), \fBnsswitch.conf\fP(5)
71 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
72 である。プロジェクトの説明とバグ報告に関する情報は
73 http://www.kernel.org/doc/man\-pages/ に書かれている。