Initial commit for Tizen
[profile/extras/shadow-utils.git] / man / pl / 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: Polecenia Zarządzania Systemem
7 .\"    Source: Polecenia Zarządzania Systemem
8 .\"  Language: Polish
9 .\"
10 .TH "FAILLOG" "8" "02/16/2011" "Polecenia Zarządzania Systemem" "Polecenia Zarządzania Systemem"
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 "NAZWA"
31 faillog \- display faillog records or set login failure limits
32 .SH "SK\(/LADNIA"
33 .HP \w'\fBfaillog\fR\ 'u
34 \fBfaillog\fR [\fIopcje\fR]
35 .SH "OPIS"
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 "OPCJE"
43 .PP
44 Polecenie
45 \fBfaillog\fR
46 posiada następujące opcje:
47 .PP
48 \fB\-a\fR, \fB\-\-all\fR
49 .RS 4
50 Display (or act on) faillog records for all users having an entry in the
51 faillog
52 database\&.
53 .RE
54 .PP
55 \fB\-h\fR, \fB\-\-help\fR
56 .RS 4
57 Wyświetlenie komunikatu pomocy i zakończenie dzia\(/lania\&.
58 .RE
59 .PP
60 \fB\-l\fR, \fB\-\-lock\-time\fR\fISEK\fR
61 .RS 4
62 Lock account for
63 \fISEC\fR
64 seconds after failed login\&.
65 .sp
66 Write access to
67 /var/log/faillog
68 is required for this option\&.
69 .RE
70 .PP
71 \fB\-m\fR, \fB\-\-maximum\fR \fIMAX\fR
72 .RS 4
73 Set the maximum number of login failures after the account is disabled to
74 \fIMAX\fR\&.
75 .sp
76 Selecting a
77 \fIMAX\fR
78 value of 0 has the effect of not placing a limit on the number of failed logins\&.
79 .sp
80 The maximum failure count should always be 0 for
81 \fIroot\fR
82 to prevent a denial of services attack against the system\&.
83 .sp
84 Write access to
85 /var/log/faillog
86 is required for this option\&.
87 .RE
88 .PP
89 \fB\-r\fR, \fB\-\-reset\fR
90 .RS 4
91 Reset the counters of login failures\&.
92 .sp
93 Write access to
94 /var/log/faillog
95 is required for this option\&.
96 .RE
97 .PP
98 \fB\-t\fR, \fB\-\-time\fR\fIDNI\fR
99 .RS 4
100 Display faillog records more recent than
101 \fIDAYS\fR\&.
102 .RE
103 .PP
104 \fB\-u\fR, \fB\-\-user\fR \fILOGIN\fR|\fIRANGE\fR
105 .RS 4
106 Display faillog record or maintains failure counters and limits (if used with
107 \fB\-l\fR,
108 \fB\-m\fR
109 or
110 \fB\-r\fR
111 options) only for the specified user(s)\&.
112 .sp
113 The users can be specified by a login name, a numerical user ID, or a
114 \fIRANGE\fR
115 of users\&. This
116 \fIRANGE\fR
117 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)\&.
118 .RE
119 .PP
120 When none of the
121 \fB\-l\fR,
122 \fB\-m\fR, or
123 \fB\-r\fR
124 options are used,
125 \fBfaillog\fR
126 displays the faillog record of the specified user(s)\&.
127 .PP
128 NOTE: in display mode, only the records of users which currently exist in the system are displayed\&. In the other modes (when the
129 \fB\-l\fR,
130 \fB\-m\fR, or
131 \fB\-r\fR
132 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\&.
133 .SH "OSTRZEŻENIA"
134 .PP
135
136 \fBfaillog\fR
137 only prints out users with no successful login since the last failure\&. To print out a user who has had a successful login since their last failure, you must explicitly request the user with the
138 \fB\-u\fR
139 flag, or print out all users with the
140 \fB\-a\fR
141 flag\&.
142 .SH "PLIKI"
143 .PP
144 /var/log/faillog
145 .RS 4
146 Failure logging file\&.
147 .RE
148 .SH "ZOBACZ TAKŻE"
149 .PP
150 \fBlogin\fR(1),
151 \fBfaillog\fR(5)\&.