File: nscd.8

package info (click to toggle)
manpages-ja 0.5.0.0.20140515%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 27,672 kB
  • ctags: 7
  • sloc: perl: 161; makefile: 98
file content (73 lines) | stat: -rw-r--r-- 4,177 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.\" Copyright 1999 SuSE GmbH Nuernberg, Germany
.\" Author: Thorsten Kukuk <kukuk@suse.de>
.\"
.\" %%%LICENSE_START(GPLv2+_SW_3_PARA)
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of the
.\" License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
.\" General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, see
.\" <http://www.gnu.org/licenses/>.
.\" %%%LICENSE_END
.\"
.\" 2008-12-05 Petr Baudis <pasky@suse.cz>
.\"	Rewrite the NOTES section to reflect modern reality
.\"
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.\"
.\" Japanese Version Copyright (c) 2001, 2005 Yuichi SATO
.\"         all rights reserved.
.\" Translated Fri Jun  8 23:20:57 JST 2001
.\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
.\" Updated & Modified Sat Jan 22 14:11:51 JST 2005
.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
.\" Updated 2009-03-05 by Kentaro Shirakata <argrath@ub32.org>
.\"
.TH NSCD 8 2012\-05\-10 GNU "Linux Programmer's Manual"
.SH 名前
nscd \- ネームサービスキャッシュデーモン
.SH 説明
nscd は一般的なネームサービスに必要な多くのものを キャッシュとして提供するデーモンである。 デフォルトの設定ファイル
\fI/etc/nscd.conf\fP でキャッシュデーモンの動作を決定する。 \fBnscd.conf\fP(5)  を見よ。

nscd は \fBpasswd\fP(5), \fBgroup\fP(5), \fBhosts\fP(5)  データベースへのアクセスのキャッシュを
\fBgetpwnam\fP(3), \fBgetpwuid\fP(3), \fBgetgrnam\fP(3), \fBgetgrgid\fP(3),
\fBgethostbyname\fP(3)  などの標準 libc インターフェースを通して提供する。

各データベースには 2 つのキャッシュがある。 肯定的 (positive) なキャッシュは見つかったアイテムをキャッシュし、 否定的
(negative) なキャッシュは見つからなかったアイテムをキャッシュする。 各キャッシュはデータの TTL (time\-to\-live, 生存時間)
を個別に持っている。 特例として shadow ファイルはキャッシュされない点に注意すること。 \fBgetspnam\fP(3)
を呼び出しても結果としてキャッシュされないままになる。
.SH オプション
.TP 
\fB\-\-help\fP
全てのオプションとその動作をリストして表示する。
.SH 注意
デーモンは( \fIpasswd\fP データベースについては \fI/etc/passwd\fP、 \fIhosts\fP データベースについては
\fI/etc/hosts\fP と \fI/etc/resolv.conf\fP というような)それぞれのデータベースのための設定ファイルを見張って、
これらが変更されるとキャッシュをフラッシュする。 しかし、これは( \fBinotify\fP(7)  が利用可能で、glibc 2.9
以降が利用可能な場合を除いて)  短い遅延の後に起こり、またこの自動検出は非標準 NSS モジュールが \fI/etc/nsswitch.conf\fP
で指定されている場合はその設定ファイルには対応しない。 この場合、データベースの設定ファイルを変更した後、 \fBnscd\fP
のキャッシュを無効にするために以下のコマンドを実行する必要がある:

    $ \fBnscd \-i\fP \fI<database>\fP
.SH 関連項目
.\" .SH AUTHOR
.\" .B nscd
.\" was written by Thorsten Kukuk and Ulrich Drepper.
\fBnscd.conf\fP(5), \fBnsswitch.conf\fP(5)
.SH この文書について
この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.65 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。