3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
6 .\" Manual: Polecenia Zarządzania Systemem
7 .\" Source: Polecenia Zarządzania Systemem
10 .TH "PWCK" "8" "07/24/2009" "Polecenia Zarządzania Systemem" "Polecenia Zarządzania Systemem"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 pwck \- verify integrity of password files
25 \fBpwck\fR [\-q] [\-s] [\fIpasswd\fR\ [\ \fIshadow\fR\ ]]
27 \fBpwck\fR [\-q] [\-r] [\fIpasswd\fR\ [\ \fIshadow\fR\ ]]
32 command verifies the integrity of the users and authentication information\&. It checks that all entries in
36 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\&.
38 Checks are made to verify that each entry has:
48 the correct number of fields
59 a unique and valid user name
70 a valid user and group identifier
92 a valid home directory
108 checks are enabled when a second file parameter is specified or when
110 exists on the system\&.
112 These checks are the following:
122 every passwd entry has a matching shadow entry, and every shadow entry has a matching passwd entry
133 passwords are specified in the shadowed file
144 shadow entries have the correct number of fields
155 shadow entries are unique in shadow
166 the last password changes are not in the future
169 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
171 command to correct the error\&.
173 The commands which operate on the
175 file are not able to alter corrupted or duplicated entries\&.
177 should be used in those circumstances to remove the offending entry\&.
182 posiada następujące opcje:
186 Report errors only\&. The warnings which do not require any action from the user won\'t be displayed\&.
193 command in read\-only mode\&.
207 operates on the files
210 /etc/shadow\&. The user may select alternate files with the
217 The following configuration variables in
219 change the behavior of this tool:
221 \fBPASS_MAX_DAYS\fR (number)
223 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)\&.
226 \fBPASS_MIN_DAYS\fR (number)
228 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)\&.
231 \fBPASS_WARN_AGE\fR (number)
233 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\&.
239 Informacje o grupach użytkownik\('ow\&.
244 Informacja o kontach użytkownik\('ow\&.
249 Informacje chronione o użytkownikach\&.
251 .SH "KOD ZAKOŃCZENIA"
255 kończy dzia\(/lanie z następującymi wartościami kod\('ow zakończenia:
259 poprawne zakończenie dzia\(/lania programu
264 niepoprawna sk\(/ladnia polecenia
269 one or more bad password entries
274 can\'t open password files
279 can\'t lock password files
284 can\'t update password files
289 can\'t sort password files