OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / draft / man5 / nscd.conf.5
1 .\" -*- nroff -*-
2 .\" Copyright (c) 1999, 2000 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 .\" Japanese Version Copyright (c) 2001 Yuichi SATO
21 .\"         all rights reserved.
22 .\" Translated 2001-06-09, Yuichi SATO <ysato@h4.dion.ne.jp>
23 .\" Updated 2006-07-19, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.36
24 .\"
25 .TH NSCD.CONF 5 1999-10-01 "GNU" "Linux Programmer's Manual"
26 .\"O .SH NAME
27 .SH Ì¾Á°
28 .\"O /etc/nscd.conf \- name service cache daemon configuration file
29 /etc/nscd.conf \- ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥­¥ã¥Ã¥·¥å¥Ç¡¼¥â¥ó¤ÎÀßÄê¥Õ¥¡¥¤¥ë
30 .\"O .SH DESCRIPTION
31 .SH ÀâÌÀ
32 .\"O The file
33 .\"O .I /etc/nscd.conf
34 .\"O is read from
35 .\"O .BR nscd (8)
36 .\"O at startup.
37 .\"O Each line specifies either an attribute and a value, or an
38 .\"O attribute, service, and a value.
39 .\"O Fields are separated either by SPACE
40 .\"O or TAB characters.
41 .\"O A \(aq#\(aq (number sign) indicates the beginning of a
42 .\"O comment; following characters, up to the end of the line,
43 .\"O are not interpreted by nscd.
44 .BR nscd (8)
45 ¤Ïµ¯Æ°»þ¤Ë¥Õ¥¡¥¤¥ë
46 .I /etc/nscd.conf
47 ¤òÆɤ߹þ¤à¡£
48 ³Æ¹Ô¤Ë¤Ï¡Ö°À­¡¦Ã͡פޤ¿¤Ï¡Ö°À­¡¦¥µ¡¼¥Ó¥¹¡¦Ã͡פò»ØÄꤹ¤ë¡£
49 ¥Õ¥£¡¼¥ë¥É¤Ï¥¹¥Ú¡¼¥¹Ê¸»ú¤Þ¤¿¤Ï¥¿¥Öʸ»ú¤Ç¶èÀÚ¤é¤ì¤ë¡£
50 \(aq#\(aq (¥Ê¥ó¥Ð¡¼µ­¹æ) ¤Ï¥³¥á¥ó¥È¤Î»Ï¤Þ¤ê¤òɽ¤¹¡£
51 ¤³¤Îµ­¹æ¤«¤é¹ÔËö¤Þ¤Ç¤Ï nscd ¤Ë¤è¤Ã¤Æ²ò¼á¤µ¤ì¤Ê¤¤¡£
52 .\"O Valid services are \fIpasswd\fP, \fIgroup\fP, or \fIhosts\fP.
53 »ØÄê²Äǽ¤Ê¥µ¡¼¥Ó¥¹¤Ï \fIpasswd\fP, \fIgroup\fP, \fIhosts\fP ¤Ç¤¢¤ë¡£
54
55 .B logfile
56 .I debug-file-name
57 .RS
58 .\"O Specifies name of the file to which debug info should be written.
59 ¥Ç¥Ð¥Ã¥°¾ðÊ󤬽ñ¤­¹þ¤Þ¤ì¤ë¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤹ¤ë¡£
60 .RE
61
62 .B debug-level
63 .I value
64 .RS
65 .\"O Sets the desired debug level.
66 ´õ˾¤¹¤ë¥Ç¥Ð¥Ã¥°¥ì¥Ù¥ë¤òÀßÄꤹ¤ë¡£
67 .RE
68
69 .B threads
70 .I number
71 .RS
72 .\"O This is the number of threads that are started to wait for
73 .\"O requests.
74 .\"O At least five threads will always be created.
75 ¥¹¥ì¥Ã¥É¤ò¤¤¤¯¤Äµ¯Æ°¤·¤Æ¥ê¥¯¥¨¥¹¥È¤òÂԤĤΤ«¤ò»ØÄꤹ¤ë¡£
76 ¾¯¤Ê¤¯¤È¤â 5 ¤Ä¤Î¥¹¥ì¥Ã¥É¤¬¾ï¤ËºîÀ®¤µ¤ì¤ë¡£
77 .RE
78
79 .B server-user
80 .I user
81 .RS
82 .\"O If this option is set, nscd will run as this user and not as root.
83 .\"O If a separate cache for every user is used (\-S parameter), this
84 .\"O option is ignored.
85 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬ÀßÄꤵ¤ì¤ë¤È¡¢
86 nscd ¤Ï root ¤Ç¤Ï¤Ê¤¯¡¢¤³¤Î user ¤È¤·¤Æ¼Â¹Ô¤µ¤ì¤ë¡£
87 (\-S ¥Ñ¥é¥á¡¼¥¿¤Ë¤è¤ê) ³Æ¥æ¡¼¥¶¡¼Ëè¤ËÊÌ¡¹¤Î¥­¥ã¥Ã¥·¥å¤¬»È¤ï¤ì¤ë¾ì¹ç¡¢
88 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï̵»ë¤µ¤ì¤ë¡£
89 .RE
90
91 .B enable-cache
92 .I service
93 .I <yes|no>
94 .RS
95 .\"O Enables or disables the specified
96 .\"O .I service
97 .\"O cache.
98 »ØÄꤷ¤¿
99 .I service
100 ¤Î¥­¥ã¥Ã¥·¥å¤òÍ­¸ú¤Þ¤¿¤Ï̵¸ú¤Ë¤¹¤ë¡£
101 .RE
102
103 .B positive-time-to-live
104 .I service
105 .I value
106 .RS
107 .\"O Sets the TTL (time-to-live) for positive entries (successful queries)
108 .\"O in the specified cache for
109 .\"O .IR service .
110 .\"O .I Value
111 .\"O is in seconds.
112 .\"O Larger values increase cache hit rates and reduce mean
113 .\"O response times, but increase problems with cache coherence.
114 »ØÄꤷ¤¿
115 .I service
116 ¤Î¥­¥ã¥Ã¥·¥å¤Ë¤¢¤ë¥Ý¥¸¥Æ¥£¥Ö¥¨¥ó¥È¥ê (À®¸ù¤·¤¿Ì䤤¹ç¤ï¤») ¤Î
117 TTL (time-to-live) ¤òÀßÄꤹ¤ë¡£
118 .I value
119 ¤Îñ°Ì¤ÏÉäǤ¢¤ë¡£
120 ÃͤòÂ礭¤¯¤¹¤ë¤È¡¢¥Ò¥Ã¥ÈΨ¤¬¹â¤¯¤Ê¤êÊ¿¶Ñ±þÅú»þ´Ö¤òû¤¯¤Ç¤­¤ë¤¬¡¢
121 ¥­¥ã¥Ã¥·¥å¤Î¥³¥Ò¡¼¥ì¥ó¥¹ (coherence,
122 ¥­¥ã¥Ã¥·¥å¤¬¼ÂºÝ¤Î¥Ç¡¼¥¿¤È°ìÃפ·¤Æ¤¤¤ë¤³¤È) ¤ËÌäÂ꤬À¸¤¸¤ë¡£
123 .RE
124
125 .B negative-time-to-live
126 .I service
127 .I value
128 .RS
129 .\"O Sets the TTL (time-to-live) for negative entries (unsuccessful queries)
130 .\"O in the specified cache for
131 .\"O .IR service .
132 .\"O .I Value
133 .\"O is in seconds.
134 .\"O Can result in significant performance improvements if there
135 .\"O are several files owned by UIDs (user IDs) not in system databases (for
136 .\"O example untarring the linux kernel sources as root); should be kept small
137 .\"O to reduce cache coherency problems.
138 »ØÄꤷ¤¿
139 .I service
140 ¤Î¥­¥ã¥Ã¥·¥å¤Ë¤¢¤ë¥Í¥¬¥Æ¥£¥Ö¥¨¥ó¥È¥ê (¼ºÇÔ¤·¤¿Ì䤤¹ç¤ï¤») ¤Î
141 TTL (time-to-live) ¤òÀßÄꤹ¤ë¡£
142 .I value
143 ¤Îñ°Ì¤ÏÉäǤ¢¤ë¡£
144 ¥·¥¹¥Æ¥à¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë¤Ê¤¤ UID (¥æ¡¼¥¶¡¼ID) ¤Ç½êÍ­¤µ¤ì¤ë¥Õ¥¡¥¤¥ë
145 (¤¿¤È¤¨¤Ð root ¤Ç tar ¤òŸ³«¤·¤¿ linux ¥«¡¼¥Í¥ë¤Î¥½¡¼¥¹) ¤¬¾¯¤Ê¤¤¤È¡¢
146 ¸²Ãø¤ÊÀ­Ç½¤Î¸þ¾å¤¬¸«¤é¤ì¤ë¡£
147 ¥­¥ã¥Ã¥·¥å¤Î¥³¥Ò¡¼¥ì¥ó¥¹ÌäÂê¤ò¾¯¤Ê¤¯¤¹¤ë¤¿¤á¤Ë¾®¤µ¤ÊÃͤˤ¹¤Ù¤­¤Ç¤¢¤ë¡£
148 .RE
149
150 .B suggested-size
151 .I service
152 .I value
153 .RS
154 .\"O This is the internal hash table size,
155 .\"O .I value
156 .\"O should remain a prime number for optimum efficiency.
157 ÆâÉô¥Ï¥Ã¥·¥å¥Æ¡¼¥Ö¥ë¤ÎÂ礭¤µ¤ò»ØÄꤹ¤ë¡£
158 ¸úΨ¤òºÇŬ¤Ë¤¹¤ë¤¿¤á¤Ë
159 .I value
160 ¤ÏÁÇ¿ô¤Ë¤·¤Æ¤ª¤¯¤Ù¤­¤Ç¤¢¤ë¡£
161 .RE
162
163 .B check-files
164 .I service
165 .I <yes|no>
166 .RS
167 .\"O Enables or disables checking the file belonging to the specified
168 .\"O .I service
169 .\"O for changes.
170 .\"O The files are
171 .\"O .IR /etc/passwd ,
172 .\"O .IR /etc/group ,
173 .\"O and
174 .\"O .IR /etc/hosts .
175 »ØÄꤷ¤¿
176 .I service
177 ¤Ë´ØÏ¢¤¹¤ë¥Õ¥¡¥¤¥ë¤ÎÊѹ¹¤Î¥Á¥§¥Ã¥¯¤òÍ­¸ú¤Þ¤¿¤Ï̵¸ú¤Ë¤¹¤ë¡£
178 ¥Õ¥¡¥¤¥ë¤Ï
179 .IR /etc/passwd ,
180 .IR /etc/group ,
181 .I /etc/hosts
182 ¤Ç¤¢¤ë¡£
183 .RE
184
185 .B max-threads
186 .I threads
187 .RS
188 .\"O Specifies the maximum number of threads to be started.
189 ³«»Ï¤¹¤ë¥¹¥ì¥Ã¥É¤ÎºÇÂç¿ô¤ò»ØÄꤹ¤ë¡£
190 .RE
191
192 .B stat-user
193 .I username
194 .RS
195 .\"O Specifies the user who is allowed to request statistics.
196 Åý·×¾ðÊó¤Î»²¾È¤òµö²Ä¤¹¤ë¥æ¡¼¥¶¤ò»ØÄꤹ¤ë¡£
197 .RE
198
199 .B reload-count
200 unlimited |
201 .I number
202 .RS
203 .\"O Limit on the number of times a cached entry gets reloaded without being used
204 .\"O before it gets removed.
205 .\"O The default is 5.
206 ¥­¥ã¥Ã¥·¥å¤µ¤ì¤¿¥¨¥ó¥È¥ê¤¬»ÈÍѤµ¤ì¤Ê¤«¤Ã¤¿¤È¤­¤Ë¡¢
207 ºï½ü¤µ¤ì¤ëÁ°¤Ë²¿²ó¥ê¥í¡¼¥É¤µ¤ì¤ë¤«¤òÀßÄꤹ¤ë¡£
208 .RE
209
210 .B paranoia
211 .I <yes|no>
212 .RS
213 .\"O Enabling paranoia mode causes nscd to restart itself periodically.
214 ¥Ñ¥é¥Î¥¤¥¢¥â¡¼¥É¤òÍ­¸ú¤Ë¤¹¤ë¡£
215 ¥Ñ¥é¥Î¥¤¥¢¥â¡¼¥É¤Ç¤Ï nscd ¤òÄê´üŪ¤ËºÆµ¯Æ°¤¹¤ë¡£
216 .RE
217
218 .B restart-interval
219 .I time
220 .RS
221 .\"O Sets the restart interval to
222 .\"O .I time
223 .\"O seconds
224 .\"O if periodic restart is enabled by enabling
225 .\"O .B paranoia
226 .\"O mode.
227 ¥Ñ¥é¥Î¥¤¥¢¥â¡¼¥É¤¬Í­¸ú¤ÇÄê´üŪ¤ËºÆµ¯Æ°¤¹¤ë¾ì¹ç¤Î¡¢
228 ºÆµ¯Æ°´Ö³Ö¤ò
229 .I time
230 ÉäËÀßÄꤹ¤ë¡£
231 .RE
232
233 .B persistent
234 .I service
235 .I <yes|no>
236 .RS
237 .\"O Keep the content of the cache for
238 .\"O .I service
239 .\"O over server restarts; useful when
240 .\"O .B paranoia
241 .\"O mode is set.
242 ¥µ¡¼¥Ð¤ÎºÆµ¯Æ°¤ÎÁ°¸å¤Ç
243 .I service
244 ¤Î¥­¥ã¥Ã¥·¥åÆâÍƤòÊÝ»ý¤¹¤ë¡£
245 .B paranoia
246 ¥â¡¼¥É¤¬Í­¸ú¤Î¾ì¹ç¤ËÊØÍø¤Ç¤¢¤ë¡£
247 .RE
248
249 .B shared
250 .I service
251 .I <yes|no>
252 .RS
253 .\"O The memory mapping of the nscd databases for
254 .\"O .I service
255 .\"O is shared with the clients so
256 .\"O that they can directly search in them instead of having to ask the
257 .\"O daemon over the socket each time a lookup is performed.
258 .I service
259 ¤Î nscd ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥á¥â¥ê¡¦¥Þ¥Ã¥Ô¥ó¥°¤ò¥¯¥é¥¤¥¢¥ó¥È´Ö¤Ç¶¦Í­¤¹¤ë¡£
260 ¤³¤ì¤Ë¤è¤ê¡¢¸¡º÷¤ò¼Â¹Ô¤¹¤ëÅ٤˥½¥±¥Ã¥È·Ðͳ¤Ç¥Ç¡¼¥â¥ó¤ËÌ䤤¹ç¤ï¤»¤ò
261 ¹Ô¤ï¤º¤Ë¡¢Ä¾Àܥǡ¼¥¿¥Ù¡¼¥¹¤ò¸¡º÷¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ë¡£
262 .RE
263 .\"O .SH "SEE ALSO"
264 .SH ´ØÏ¢¹àÌÜ
265 .BR nscd (8)
266 .\"O .\" .SH AUTHOR
267 .\" .SH Ãø¼Ô
268 .\"O .\" .B nscd
269 .\"O .\" was written by Thorsten Kukuk and Ulrich Drepper.
270 .\" .B nscd
271 .\" ¤Ï Thorsten Kukuk ¤È Ulrich Drepper ¤Ë¤è¤Ã¤Æ½ñ¤«¤ì¤¿¡£