3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: Polecenia Zarządzania Systemem
7 .\" Source: Polecenia Zarządzania Systemem
10 .TH "PWCK" "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 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 pwck \- verify integrity of password files
34 \fBpwck\fR [\-q] [\-s] [\fIpasswd\fR\ [\ \fIshadow\fR\ ]]
36 \fBpwck\fR [\-q] [\-r] [\fIpasswd\fR\ [\ \fIshadow\fR\ ]]
41 command verifies the integrity of the users and authentication information\&. It checks that all entries in
45 have the proper format and contain valid data\&. The user is prompted to delete entries that are improperly formatted or which have other uncorrectable errors\&.
47 Checks are made to verify that each entry has:
57 the correct number of fields
68 a unique and valid user name
79 a valid user and group identifier
101 a valid home directory
117 checks are enabled when a second file parameter is specified or when
119 exists on the system\&.
121 These checks are the following:
131 every passwd entry has a matching shadow entry, and every shadow entry has a matching passwd entry
142 passwords are specified in the shadowed file
153 shadow entries have the correct number of fields
164 shadow entries are unique in shadow
175 the last password changes are not in the future
178 The checks for correct number of fields and unique user name are fatal\&. If the entry has the wrong number of fields, the user will be prompted to delete the entire line\&. If the user does not answer affirmatively, all further checks are bypassed\&. An entry with a duplicated user name is prompted for deletion, but the remaining checks will still be made\&. All other errors are warning and the user is encouraged to run the
180 command to correct the error\&.
182 The commands which operate on the
184 file are not able to alter corrupted or duplicated entries\&.
186 should be used in those circumstances to remove the offending entry\&.
191 posiada następujące opcje:
195 Report errors only\&. The warnings which do not require any action from the user won\*(Aqt be displayed\&.
202 command in read\-only mode\&.
216 operates on the files
219 /etc/shadow\&. The user may select alternate files with the
226 The following configuration variables in
228 change the behavior of this tool:
230 \fBPASS_MAX_DAYS\fR (number)
232 The maximum number of days a password may be used\&. If the password is older than this, a password change will be forced\&. If not specified, \-1 will be assumed (which disables the restriction)\&.
235 \fBPASS_MIN_DAYS\fR (number)
237 The minimum number of days allowed between password changes\&. Any password changes attempted sooner than this will be rejected\&. If not specified, \-1 will be assumed (which disables the restriction)\&.
240 \fBPASS_WARN_AGE\fR (number)
242 The number of days warning given before a password expires\&. A zero means warning is given only upon the day of expiration, a negative value means no warning is given\&. If not specified, no warning will be provided\&.
248 Informacje o grupach użytkownik\('ow\&.
253 Informacja o kontach użytkownik\('ow\&.
258 Informacje chronione o użytkownikach\&.
260 .SH "KOD ZAKOŃCZENIA"
264 kończy dzia\(/lanie z następującymi wartościami kod\('ow zakończenia:
268 poprawne zakończenie dzia\(/lania programu
273 niepoprawna sk\(/ladnia polecenia
278 one or more bad password entries
283 can\*(Aqt open password files
288 can\*(Aqt lock password files
293 can\*(Aqt update password files
298 can\*(Aqt sort password files