Initial commit for Tizen
[profile/extras/shadow-utils.git] / man / ru / faillog.8
1 '\" t
2 .\"     Title: faillog
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5 .\"      Date: 02/16/2011
6 .\"    Manual: Команды управления системой
7 .\"    Source: Команды управления системой
8 .\"  Language: Russian
9 .\"
10 .TH "faillog" "8" "02/16/2011" "Команды управления системой" "Команды управления системой"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "НАЗВАНИЕ"
31 faillog \- показывает записи из файла faillog или задаёт предел неудачных попыток входа в систему
32 .SH "СИНТАКСИС"
33 .HP \w'\fBfaillog\fR\ 'u
34 \fBfaillog\fR [\fIпараметры\fR]
35 .SH "ОПИСАНИЕ"
36 .PP
37
38 \fBfaillog\fR
39 displays the contents of the failure log database (/var/log/faillog)\&. It can also set the failure counters and limits\&. When
40 \fBfaillog\fR
41 is run without arguments, it only displays the faillog records of the users who had a login failure\&.
42 .SH "ПАРАМЕТРЫ"
43 .PP
44 Параметры команды
45 \fBfaillog\fR:
46 .PP
47 \fB\-a\fR, \fB\-\-all\fR
48 .RS 4
49 Display (or act on) faillog records for all users having an entry in the
50 faillog
51 database\&.
52 .RE
53 .PP
54 \fB\-h\fR, \fB\-\-help\fR
55 .RS 4
56 Показать краткую справку и закончить работу\&.
57 .RE
58 .PP
59 \fB\-l\fR, \fB\-\-lock\-time\fR\fIСЕКУНД\fR
60 .RS 4
61 Lock account for
62 \fISEC\fR
63 seconds after failed login\&.
64 .sp
65 Write access to
66 /var/log/faillog
67 is required for this option\&.
68 .RE
69 .PP
70 \fB\-m\fR, \fB\-\-maximum\fR\fIМАКС_ЧИСЛО\fR
71 .RS 4
72 Set the maximum number of login failures after the account is disabled to
73 \fIMAX\fR\&.
74 .sp
75 Selecting a
76 \fIMAX\fR
77 value of 0 has the effect of not placing a limit on the number of failed logins\&.
78 .sp
79 The maximum failure count should always be 0 for
80 \fIroot\fR
81 to prevent a denial of services attack against the system\&.
82 .sp
83 Write access to
84 /var/log/faillog
85 is required for this option\&.
86 .RE
87 .PP
88 \fB\-r\fR, \fB\-\-reset\fR
89 .RS 4
90 Reset the counters of login failures\&.
91 .sp
92 Write access to
93 /var/log/faillog
94 is required for this option\&.
95 .RE
96 .PP
97 \fB\-t\fR, \fB\-\-time\fR\fIДНЕЙ\fR
98 .RS 4
99 Display faillog records more recent than
100 \fIDAYS\fR\&.
101 .RE
102 .PP
103 \fB\-u\fR, \fB\-\-user\fR \fILOGIN\fR|\fIRANGE\fR
104 .RS 4
105 Display faillog record or maintains failure counters and limits (if used with
106 \fB\-l\fR,
107 \fB\-m\fR
108 or
109 \fB\-r\fR
110 options) only for the specified user(s)\&.
111 .sp
112 The users can be specified by a login name, a numerical user ID, or a
113 \fIRANGE\fR
114 of users\&. This
115 \fIRANGE\fR
116 of users can be specified with a min and max values (\fIUID_MIN\-UID_MAX\fR), a max value (\fI\-UID_MAX\fR), or a min value (\fIUID_MIN\-\fR)\&.
117 .RE
118 .PP
119 When none of the
120 \fB\-l\fR,
121 \fB\-m\fR, or
122 \fB\-r\fR
123 options are used,
124 \fBfaillog\fR
125 displays the faillog record of the specified user(s)\&.
126 .PP
127 NOTE: in display mode, only the records of users which currently exist in the system are displayed\&. In the other modes (when the
128 \fB\-l\fR,
129 \fB\-m\fR, or
130 \fB\-r\fR
131 options are used), the records of the user, or the range of users, or all the users that may have an entry in the faillog database will be changed\&. This is useful to reset records of users that have been deleted or set a policy in advance for a range of users\&.
132 .SH "ПРЕДОСТЕРЕЖЕНИЯ"
133 .PP
134 Программа
135 \fBfaillog\fRвыводит только записи о пользователях, последняя попытка входа которых была неудачной\&. Чтобы увидеть запись о пользователе, последняя попытка входа которого была удачной, вы должны специально указать имя пользователя с помощью параметра
136 \fB\-a\fR\&.
137 .SH "ФАЙЛЫ"
138 .PP
139 /var/log/faillog
140 .RS 4
141 содержит журнал неудавшихся попыток входа в систему
142 .RE
143 .SH "СМОТРИТЕ ТАКЖЕ"
144 .PP
145 \fBlogin\fR(1),
146 \fBfaillog\fR(5)\&.