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: System Management Commands
7 .\" Source: System Management Commands
10 .TH "PWCONV" "8" "16/02/2011" "System Management Commands" "System Management Commands"
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 pwconv, pwunconv, grpconv, grpunconv \- convertono a e da password e gruppi shadow\&.
33 .HP \w'\fBpwconv\fR\ 'u
35 .HP \w'\fBpwunconv\fR\ 'u
37 .HP \w'\fBgrpconv\fR\ 'u
39 .HP \w'\fBgrpunconv\fR\ 'u
49 and an optionally existing
69 and an optionally existing
83 Questi quattro programmi agiscono tutti sui file normali e oscurati (shadow) delle password e dei gruppi:
90 Ciascun programma, prima della conversione, acquisisce i lock necessari\&.
94 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\*(Aq come password nel file principale\&. Vengono aggiunte le eventuali voci oscurate mancanti\&. Infine, le password nel file principale vengono sostituite con `x\*(Aq\&. Questi programmi possono essere usati per le conversioni iniziali cos\(`i come per aggiornare il file oscurato se il file principale viene editato a mano\&.
98 will use the values of
100 \fIPASS_MAX_DAYS\fR, and
104 when adding new entries to
111 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\*(Aqinvecchiamento delle password vengono perse da
112 \fBpwunconv\fR\&. Convertir\(`a solo quello che potr\(`a\&.
115 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
119 to correct any such errors before converting to or from shadow passwords or groups\&.
122 The following configuration variable in
124 changes the behavior of
129 \fBMAX_MEMBERS_PER_GROUP\fR (number)
131 Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
133 (with the same name, same password, and same GID)\&.
135 The default value is 0, meaning that there are no limits in the number of members in a group\&.
137 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\&.
139 If you need to enforce such limit, you can use 25\&.
141 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\&.
144 The following configuration variables in
146 change the behavior of
149 \fBPASS_MAX_DAYS\fR (number)
151 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)\&.
154 \fBPASS_MIN_DAYS\fR (number)
156 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)\&.
159 \fBPASS_WARN_AGE\fR (number)
161 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\&.
167 Shadow password suite configuration\&.