OSDN Git Service

(split) LDP: Release pages for LDP v3.39.
[linuxjm/LDP_man-pages.git] / release / 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 .\"*******************************************************************
24 .\"
25 .\" This file was generated with po4a. Translate the source file.
26 .\"
27 .\"*******************************************************************
28 .TH NSCD 8 2008\-12\-05 GNU "Linux Programmer's Manual"
29 .SH 名前
30 /usr/sbin/nscd \- ネームサービスキャッシュデーモン
31 .SH 説明
32 nscd は一般的なネームサービスに必要な多くのものを キャッシュとして提供するデーモンである。 デフォルトの設定ファイル
33 \fI/etc/nscd.conf\fP でキャッシュデーモンの動作を決定する。 \fBnscd.conf\fP(5)  を見よ。
34
35 nscd は \fBpasswd\fP(5), \fBgroup\fP(5), \fBhosts\fP(5)  データベースへのアクセスのキャッシュを
36 \fBgetpwnam\fP(3), \fBgetpwuid\fP(3), \fBgetgrnam\fP(3), \fBgetgrgid\fP(3),
37 \fBgethostbyname\fP(3)  などの標準 libc インターフェースを通して提供する。
38
39 各データベースには 2 つのキャッシュがある。 肯定的 (positive) なキャッシュは見つかったアイテムをキャッシュし、 否定的
40 (negative) なキャッシュは見つからなかったアイテムをキャッシュする。 各キャッシュはデータの TTL (time\-to\-live, 生存時間)
41 を個別に持っている。 特例として shadow ファイルはキャッシュされない点に注意すること。 \fBgetspnam\fP(3)
42 を呼び出しても結果としてキャッシュされないままになる。
43 .SH オプション
44 .TP 
45 \fB\-\-help\fP
46 全てのオプションとその動作をリストして表示する。
47 .SH 注意
48 デーモンは( \fIpasswd\fP データベースについては \fI/etc/passwd\fP、 \fIhosts\fP データベースについては
49 \fI/etc/hosts\fP と \fI/etc/resolv.conf\fP というような)それぞれのデータベースのための設定ファイルを見張って、
50 これらが変更されるとキャッシュをフラッシュする。 しかし、これは( \fBinotify\fP(7)  が利用可能で、glibc 2.9
51 以降が利用可能な場合を除いて)  短い遅延の後に起こり、またこの自動検出は非標準 NSS モジュールが \fI/etc/nsswitch.conf\fP
52 で指定されている場合はその設定ファイルには対応しない。 この場合、データベースの設定ファイルを変更した後、 \fBnscd\fP
53 のキャッシュを無効にするために以下のコマンドを実行する必要がある:
54
55     $ \fBnscd \-i\fP \fI<database>\fP
56 .SH 関連項目
57 \fBnscd.conf\fP(5), \fBnsswitch.conf\fP(5)
58 .\" .SH AUTHOR
59 .\" .B nscd
60 .\" was written by Thorsten Kukuk and Ulrich Drepper.