OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / shadow / draft / man8 / faillog.8
1 .\"$Id: faillog.8,v 1.10 2001/01/27 02:55:52 kloczek Exp $
2 .\" Copyright 1989 - 1994, Julianne Frances Haugh
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
14 .\"    may be used to endorse or promote products derived from this software
15 .\"    without specific prior written permission.
16 .\"
17 .\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
18 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 .\" ARE DISCLAIMED.  IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
21 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 .\" SUCH DAMAGE.
28 .\"
29 .\"
30 .\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka
31 .\"         all rights reserved.
32 .\" Translated Fri Feb 14 23:06:00 JST 1997
33 .\"         by Kazuyoshi Furutaka <furutaka@Flux.tokai.jaeri.go.jp>
34 .\" Modified Sat 21 Sep 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
35 .\"
36 .TH FAILLOG 8
37 .\"O .SH NAME
38 .SH Ì¾Á°
39 .\"O faillog \- examine faillog and set login failure limits
40 faillog \- faillog ¤òÄ´¤Ù¡¢login ¼ºÇÔ¤ÎÀ©¸Â¤òÀßÄꤹ¤ë
41 .\"O .SH SYNOPSIS
42 .SH ½ñ¼°
43 .\"O .TP 8
44 \fBfaillog\fR [\fB-u\fR \fIlogin-name\fR] [\fB-a\fR] [\fB-t\fR \fIdays\fR]
45 [\fB-m\fR \fImax\fR] [\fB-pr\fR] 
46 .\"O .SH DESCRIPTION
47 .SH ÀâÌÀ
48 .\"O \fBfaillog\fR formats the contents of the failure log,
49 .\"O \fI/var/log/faillog\fR, and maintains failure counts and
50 .\"O limits.
51 .\"O The order of the arguments to \fBfaillog\fR is significant.
52 .\"O Each argument is processed immediately in the order given.
53 \fBfaillog\fR ¤Ï¥í¥°¥¤¥ó¤Î¼ºÇÔ¤òµ­Ï¿¤¹¤ë¥í¥°¥Õ¥¡¥¤¥ë
54 \fI/var/log/faillog\fR ¤ÎÆâÍƤòÀ°·Á¤·¡¢
55 ¼ºÇԤβó¿ô¤ÈÀ©¸ÂÃͤòµ­Ï¿¡¦´ÉÍý¤¹¤ë¡£
56 \fBfaillog\fR ¤ËÍ¿¤¨¤ë°ú¿ô¤Î½ç½ø¤Ï½ÅÍפǤ¢¤ê¡¢
57 ³Æ°ú¿ô¤ÏÍ¿¤¨¤é¤ì¤¿½ç¤Ëľ¤Á¤Ë½èÍý¤µ¤ì¤ë¡£
58 .PP
59 .\"O The \fB-p\fR flag causes failure entries to be printed in UID
60 .\"O order.
61 .\"O Entering \fB-u \fIlogin-name\fR flag will
62 .\"O cause the failure record for \fIlogin-name\fR only to be printed.
63 .\"O Entering \fB-t \fIdays\fR will cause only the
64 .\"O failures more recent than \fIdays\fR to be printed.
65 .\"O The \fB-t\fR flag overrides the use of \fB-u\fR.
66 .\"O The \fB-a\fR flag causes all users to be selected.
67 .\"O When used with the \fB-p\fR flag, this option selects all users
68 .\"O who have ever had a login failure.
69 .\"O It is meaningless with the \fB-r\fR flag.
70 \fB-p\fR ¥Õ¥é¥°¤ò»ØÄꤹ¤ë¤È¥í¥°¥¤¥ó¼ºÇԤΥ¨¥ó¥È¥ê¤ò UID ½ç¤Ëɽ¼¨¤¹¤ë¡£
71 \fB-u \fIlogin-name\fR ¤ÈÆþÎϤ¹¤ë¤È¡¢
72 \fIlogin-name\fR ¤Î¥í¥°¥¤¥ó¼ºÇÔµ­Ï¿¤Î¤ß¤òɽ¼¨¤¹¤ë¡£
73 \fB-t \fIdays\fR ¤ÈÆþÎϤ¹¤ë¤È¡¢
74 ºÇ¶á \fIdays\fR Æü°ÊÆâ¤Î¥í¥°¥¤¥ó¼ºÇԤε­Ï¿¤òɽ¼¨¤¹¤ë¡£
75 \fB-u\fR ¥Õ¥é¥°¤ò»ØÄꤹ¤ë¤È \fB-t\fR ¥Õ¥é¥°¤Ï̵»ë¤µ¤ì¤ë¡£
76 .\"nakano ¤È¤¤¤¦¤Î¤¬¼ÂºÝ¤ÎÆ°ºî¤Î¤è¤¦¤Êµ¤¤¬¤¹¤ë¤Î¤À¤±¤É...
77 \fB-a\fR ¥Õ¥é¥°¤òÍѤ¤¤ë¤ÈÁ´¥æ¡¼¥¶¤ËÂФ¹¤ëµ­Ï¿¤¬É½¼¨¤µ¤ì¤ë¡£
78 ¤³¤Î¥Õ¥é¥°¤ò \fB-p\fR ¥Õ¥é¥°¤È¤È¤â¤ËÍѤ¤¤ë¤È¡¢
79 ¤³¤ì¤Þ¤Ç¤Ë¥í¥°¥¤¥ó¤Ë¼ºÇÔ¤·¤¿Á´¤Æ¤Î¥æ¡¼¥¶¤¬É½¼¨¤µ¤ì¤ë¡£
80 \fB-a\fR ¤Ï \fB-r\fR ¥Õ¥é¥°¤ÈÍѤ¤¤Æ¤â°ÕÌ£¤¬Ìµ¤¤¡£
81 .PP
82 .\"O The \fB-r\fR flag is used to reset the count of login failures.
83 .\"O Write access to \fI/var/log/faillog\fR is required for
84 .\"O this option.
85 .\"O Entering \fB-u \fIlogin-name\fR will cause only the failure count
86 .\"O for \fIlogin-name\fR to be reset.
87 \fB-r\fR ¥Õ¥é¥°¤Ï¥í¥°¥¤¥ó¼ºÇÔ²ó¿ô¤Îµ­Ï¿¤ò¥ê¥»¥Ã¥È¤¹¤ë¡£
88 ¤³¤Î¥ª¥×¥·¥ç¥ó¤òÍѤ¤¤ë¤Ë¤Ï
89 \fI/var/log/faillog\fR ¤Ø¤Î½ñ¤­¹þ¤ß¸¢¸Â¤¬É¬ÍפǤ¢¤ë¡£
90 \fB-u \fIlogin-name\fR ¤ÈÆþÎϤ¹¤ë¤È¡¢
91 \fIlogin-name\fR ¤Î¥í¥°¥¤¥ó¼ºÇÔ²ó¿ô¤Î¤ß¤ò¥ê¥»¥Ã¥È¤¹¤ë¡£
92 .PP
93 .\"O The \fB-m\fR flag is used to set the maximum number of login
94 .\"O failures before the account is disabled.
95 .\"O Write access to \fI/var/log/faillog\fR is required for this
96 .\"O option.
97 .\"O Entering \fB-m \fImax\fR will cause all accounts to be disabled
98 .\"O after \fImax\fR failed logins occur.
99 .\"O This may be modified with \fB-u \fIlogin-name\fR to limit this
100 .\"O function to \fIlogin-name\fR only.
101 .\"O Selecting a \fImax\fR value of 0 has the effect of not placing
102 .\"O a limit on the number of failed logins.
103 .\"O The maximum failure count
104 .\"O should always be 0 for \fBroot\fR to prevent
105 .\"O a denial of services attack against the system.
106 \fB-m\fR ¥Õ¥é¥°¤Ï¡¢
107 ¥¢¥«¥¦¥ó¥È¤¬»ÈÍÑÉÔǽ¤Ë¤Ê¤ë¤Þ¤Ç¤ÎºÇÂç¤Î¥í¥°¥¤¥ó¼ºÇÔ²ó¿ô¤òÀßÄꤹ¤ë¡£
108 ¤³¤Î¥ª¥×¥·¥ç¥ó¤òÍѤ¤¤ë¤Ë¤Ï
109 \fI/var/log/faillog\fR ¤Ø¤Î½ñ¤­¹þ¤ß¸¢¸Â¤¬É¬ÍפǤ¢¤ë¡£
110 \fB-m \fImax\fR ¤ÈÆþÎϤ¹¤ë¤È¡¢
111 Á´¤Æ¤Î¥¢¥«¥¦¥ó¥È¤Ï¥í¥°¥¤¥ó¼ºÇÔ²ó¿ô¤¬ \fImax\fR ¤Ë¤Ê¤ë¤È»ÈÍÑÉÔǽ¤Ë¤Ê¤ë¡£
112 .\"nakano double meaning...
113 \fB-u \fIlogin-name\fR ¤òƱ»þ¤ËÍѤ¤¤ë¤È¡¢
114 ¤³¤Îµ¡Ç½¤ò \fIlogin-name\fR ¤À¤±¤ËºîÍѤµ¤»¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
115 \fImax\fR ¤ÎÃͤò 0 ¤Ë¤¹¤ë¤È¥í¥°¥¤¥ó¤Î¼ºÇÔ²ó¿ô¤Ë¤ÏÀ©¸Â¤¬Ìµ¤¯¤Ê¤ë¡£
116 ¥·¥¹¥Æ¥à¤ËÂФ¹¤ë¥µ¡¼¥Ó¥¹ÉÔǽ¹¶·â¤òËɤ°¤¿¤á¡¢
117 \fBroot\fR ¤ÎºÇÂç¥í¥°¥¤¥ó¼ºÇÔ²ó¿ô¤Ï¾ï¤Ë 0 ¤Ë¤·¤Æ¤ª¤¯¤Ù¤­¤Ç¤¢¤ë¡£
118 .PP
119 .\"O Options may be combined in virtually any fashion.
120 .\"O Each \fB-p\fR, \fB-r\fR, and \fB-m\fR option will cause
121 .\"O immediate execution using any \fB-u\fR or \fB-t\fR modifier.
122 ¥ª¥×¥·¥ç¥ó¤Ï¤Û¤Ü¤É¤Î¤è¤¦¤ËÁȤ߹ç¤ï¤»¤Æ¤âÎɤ¤¡£
123 \fB-p\fR, \fB-r\fR, \fB-m\fR
124 ¤Î³Æ¥ª¥×¥·¥ç¥ó¤Ï¡¢
125 \fB-u\fR, \fB-t\fR ¤Î»ØÄê¤Ë¤è¤ë½¤Àµ¤ò¼õ¤±¡¢
126 »ØÄꤷ¤¿½ç¤Ë¼Â¹Ô¤µ¤ì¤ë¡£
127 .\"O .SH CAVEATS
128 .SH ·Ù¹ð
129 .\"O \fBfaillog\fR only prints out users with no successful login since
130 .\"O the last failure.
131 .\"O To print out a user who has had a successful login since their last
132 .\"O failure, you must explicitly request the user with the \fB-u\fR flag,
133 .\"O or print out all users with the \fB-a\fR flag.
134 \fBfaillog\fR ¤Ï¡¢
135 ºÇ¸å¤Ë¼ºÇÔ¤·¤Æ°Ê¹ß¥í¥°¥¤¥ó¤ËÀ®¸ù¤·¤Æ¤¤¤Ê¤¤¥æ¡¼¥¶¤Î¤ß¤òɽ¼¨¤¹¤ë¡£
136 ¥í¥°¥¤¥ó¤Ë¼ºÇÔ¤·¤¿¸å¤ËÀµ¤·¤¯¥í¥°¥¤¥ó¤Ç¤­¤¿¥æ¡¼¥¶¤âɽ¼¨¤µ¤»¤ë¤Ë¤Ï¡¢
137 \fB-u\fR ¥Õ¥é¥°¤òÍѤ¤¤Æ¤½¤Î¥æ¡¼¥¶¤òÌÀ¼¨Åª¤Ë»ØÄꤹ¤ë¤«¡¢
138 \fB-a\fR ¥Õ¥é¥°¤òÍѤ¤¤ÆÁ´¥æ¡¼¥¶¤òɽ¼¨¤µ¤»¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
139 .PP
140 .\"O Some systems may replace /var/log with /var/adm or /usr/adm.
141 ¥·¥¹¥Æ¥à¤Ë¤è¤Ã¤Æ¤Ï
142 /var/log ¤Ç¤Ï¤Ê¤¯
143 /var/adm
144 ¤ä
145 /usr/adm
146 ¤Ë¥í¥°¥Õ¥¡¥¤¥ë¤¬ÃÖ¤«¤ì¤Æ¤¤¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
147 .\"O .SH FILES
148 .SH ¥Õ¥¡¥¤¥ë
149 .\"O /var/log/faillog \- failure logging file
150 /var/log/faillog \- ¼ºÇÔ¤òµ­Ï¿¤·¤¿¥Õ¥¡¥¤¥ë
151 .\"O .SH SEE ALSO
152 .SH ´ØÏ¢¹àÌÜ
153 .BR login (1),
154 .BR faillog (5)
155 .\"O .SH AUTHOR
156 .SH Ãø¼Ô
157 Julianne Frances Haugh (jockgrrl@ix.netcom.com)