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 "PWCONV" "8" "03/04/2008" "System Management Commands" "System Management Commands"
8
.TH "PWCONV" "8" "15/04/2009" "System Management Commands" "System Management Commands"
9
9
.\" disable hyphenation
11
11
.\" disable justification (adjust text to left margin only)
66
66
Questi quattro programmi agiscono tutti sui file normali e oscurati (shadow) delle password e dei gruppi:
73
Ciascun programma, prima della conversione, acquisisce i lock necessari\.
73
Ciascun programma, prima della conversione, acquisisce i lock necessari\&.
77
sono simili\. Per prima cosa vengono rimosse le voci nel file oscurato che non esistono nel file principale\. Quindi vengono aggiornate le voci oscurate che non hanno `x\' come password nel file principale\. Vengono aggiunte le eventuali voci oscurate mancanti\. Infine, le password nel file principale vengono sostituite con `x\'\. Questi programmi possono essere usati per le conversioni iniziali così come per aggiornare il file oscurato se il file principale viene editato a mano\.
77
sono simili\&. Per prima cosa vengono rimosse le voci nel file oscurato che non esistono nel file principale\&. Quindi vengono aggiornate le voci oscurate che non hanno `x\' come password nel file principale\&. Vengono aggiunte le eventuali voci oscurate mancanti\&. Infine, le password nel file principale vengono sostituite con `x\'\&. Questi programmi possono essere usati per le conversioni iniziali così come per aggiornare il file oscurato se il file principale viene editato a mano\&.
83
83
\fIPASS_MAX_DAYS\fR, and
84
84
\fIPASS_WARN_AGE\fR
86
\fI/etc/login\.defs\fR
86
\fI/etc/login\&.defs\fR
87
87
when adding new entries to
94
sono simili\. Le password nel file principale vengono aggiornate dal file oscurato\. Voci che esistono nel file principale ma non nel file oscurato vengono lasciate stare\. Infine, viene rimosso il file oscurato\.Alcune informazioni sull\'invecchiamento delle password vengono perse da
95
\fBpwunconv\fR\. Convertirà solo quello che potrà\.
94
sono simili\&. Le password nel file principale vengono aggiornate dal file oscurato\&. Voci che esistono nel file principale ma non nel file oscurato vengono lasciate stare\&. Infine, viene rimosso il file oscurato\&.Alcune informazioni sull\'invecchiamento delle password vengono perse da
95
\fBpwunconv\fR\&. Convertirà solo quello che potrà\&.
98
Errors in the password or group files (such as invalid or duplicate entries) may cause these programs to loop forever or fail in other strange ways\. Please run
98
Errors in the password or group files (such as invalid or duplicate entries) may cause these programs to loop forever or fail in other strange ways\&. Please run
102
to correct any such errors before converting to or from shadow passwords or groups\.
102
to correct any such errors before converting to or from shadow passwords or groups\&.
103
103
.SH "CONFIGURATION"
105
105
The following configuration variable in
106
\fI/etc/login\.defs\fR
106
\fI/etc/login\&.defs\fR
107
107
changes the behavior of
112
112
\fBMAX_MEMBERS_PER_GROUP\fR (number)
114
Maximum members per group entry\. When the maximum is reached, a new group entry (line) is started in
114
Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
116
(with the same name, same password, and same GID)\.
118
The default value is 0, meaning that there are no limits in the number of members in a group\.
120
This feature (split group) permits to limit the length of lines in the group file\. This is useful to make sure that lines for NIS groups are not larger than 1024 characters\.
122
If you need to enforce such limit, you can use 25\.
124
Note: split groups may not be supported by all tools (even in the Shadow toolsuite\. You should not use this variable unless you really need it\.
116
(with the same name, same password, and same GID)\&.
118
The default value is 0, meaning that there are no limits in the number of members in a group\&.
120
This feature (split group) permits to limit the length of lines in the group file\&. This is useful to make sure that lines for NIS groups are not larger than 1024 characters\&.
122
If you need to enforce such limit, you can use 25\&.
124
Note: split groups may not be supported by all tools (even in the Shadow toolsuite)\&. You should not use this variable unless you really need it\&.
127
127
The following configuration variables in
128
\fI/etc/login\.defs\fR
128
\fI/etc/login\&.defs\fR
129
129
change the behavior of
132
132
\fBPASS_MAX_DAYS\fR (number)
134
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)\.
134
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)\&.
137
137
\fBPASS_MIN_DAYS\fR (number)
139
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)\.
139
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)\&.
142
142
\fBPASS_WARN_AGE\fR (number)
144
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\.
144
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\&.
148
\fI/etc/login\.defs\fR
148
\fI/etc/login\&.defs\fR
150
Shadow password suite configuration\.
150
Shadow password suite configuration\&.
152
152
.SH "VEDERE ANCHE"
155
155
\fBlogin.defs\fR(5),