3
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
5
5
.\" Manual: System Management Commands
6
6
.\" Source: System Management Commands
8
.TH "PWCK" "8" "04/03/2008" "System Management Commands" "System Management Commands"
8
.TH "PWCK" "8" "04/15/2009" "System Management Commands" "System Management Commands"
9
9
.\" disable hyphenation
11
11
.\" disable justification (adjust text to left margin only)
24
command verifies the integrity of the system authentication information\. All entries in the
24
command verifies the integrity of the system authentication information\&. All entries in the
28
are checked to see that the entry has the proper format and valid data in each field\. The user is prompted to delete entries that are improperly formatted or which have other uncorrectable errors\.
28
are checked to see that the entry has the proper format and valid data in each field\&. The user is prompted to delete entries that are improperly formatted or which have other uncorrectable errors\&.
30
30
Checks are made to verify that each entry has:
53
53
\h'-04'\(bu\h'+03'a valid login shell
56
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
56
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
58
command to correct the error\.
58
command to correct the error\&.
60
60
The commands which operate on the
62
file are not able to alter corrupted or duplicated entries\.
62
file are not able to alter corrupted or duplicated entries\&.
64
should be used in those circumstances to remove the offending entry\.
64
should be used in those circumstances to remove the offending entry\&.
67
67
The options which apply to the
73
Report errors only\. The warnings which do not require any action from the user won\'t be displayed\.
73
Report errors only\&. The warnings which do not require any action from the user won\'t be displayed\&.
80
command in read\-only mode\.
80
command in read\-only mode\&.
94
94
operates on the files
97
\fI/etc/shadow\fR\. The user may select alternate files with the
97
\fI/etc/shadow\fR\&. The user may select alternate files with the
102
102
.SH "CONFIGURATION"
104
104
The following configuration variables in
105
\fI/etc/login\.defs\fR
105
\fI/etc/login\&.defs\fR
106
106
change the behavior of this tool:
108
108
\fBPASS_MAX_DAYS\fR (number)
110
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)\.
110
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)\&.
113
113
\fBPASS_MIN_DAYS\fR (number)
115
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)\.
115
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)\&.
118
118
\fBPASS_WARN_AGE\fR (number)
120
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\.
120
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\&.
126
Group account information\.
126
Group account information\&.
129
129
\fI/etc/passwd\fR
131
User account information\.
131
User account information\&.
134
134
\fI/etc/shadow\fR
136
Secure user account information\.
136
Secure user account information\&.
144
146
.SH "EXIT VALUES"