~xnox/ubuntu/quantal/shadow/clear-locks

« back to all changes in this revision

Viewing changes to man/it/pwconv.8

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2009-05-05 09:45:21 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090505094521-wpk2wn3q7957tlah
Tags: 1:4.1.3.1-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Ubuntu specific:
    + debian/login.defs: use SHA512 by default for password crypt routine.
  - debian/patches/stdout-encrypted-password.patch: chpasswd can report
    password hashes on stdout (debian bug 505640).
  - debian/login.pam: Enable SELinux support (debian bug 527106).
  - debian/securetty.linux: support Freescale MX-series (debian bug 527095).
* Add debian/patches/300_lastlog_failure: fixed upstream (debian bug 524873).
* Drop debian/patches/593_omit_lastchange_field_if_clock_is_misset: fixed
  upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\"     Title: pwconv
2
2
.\"    Author: 
3
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
4
 
.\"      Date: 03/04/2008
 
4
.\"      Date: 15/04/2009
5
5
.\"    Manual: System Management Commands
6
6
.\"    Source: System Management Commands
7
7
.\"
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
10
10
.nh
11
11
.\" disable justification (adjust text to left margin only)
30
30
from
31
31
\fIpasswd\fR
32
32
and an optionally existing
33
 
\fIshadow\fR\.
 
33
\fIshadow\fR\&.
34
34
.PP
35
35
The
36
36
\fBpwunconv\fR
41
41
and
42
42
\fIshadow\fR
43
43
and then removes
44
 
\fIshadow\fR\.
 
44
\fIshadow\fR\&.
45
45
.PP
46
46
The
47
47
\fBgrpconv\fR
50
50
from
51
51
\fIgroup\fR
52
52
and an optionally existing
53
 
\fIgshadow\fR\.
 
53
\fIgshadow\fR\&.
54
54
.PP
55
55
The
56
56
\fBgrpunconv\fR
61
61
and
62
62
\fIgshadow\fR
63
63
and then removes
64
 
\fIgshadow\fR\.
 
64
\fIgshadow\fR\&.
65
65
.PP
66
66
Questi quattro programmi agiscono tutti sui file normali e oscurati (shadow) delle password e dei gruppi:
67
67
\fI/etc/passwd\fR,
68
68
\fI/etc/group\fR,
69
69
\fI/etc/shadow\fR
70
70
e
71
 
\fI/etc/gshadow\fR\.
 
71
\fI/etc/gshadow\fR\&.
72
72
.PP
73
 
Ciascun programma, prima della conversione, acquisisce i lock necessari\.
 
73
Ciascun programma, prima della conversione, acquisisce i lock necessari\&.
74
74
\fBpwconv\fR
75
75
e
76
76
\fBgrpconv\fR
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\&.
78
78
.PP
79
79
 
80
80
\fBpwconv\fR
83
83
\fIPASS_MAX_DAYS\fR, and
84
84
\fIPASS_WARN_AGE\fR
85
85
from
86
 
\fI/etc/login\.defs\fR
 
86
\fI/etc/login\&.defs\fR
87
87
when adding new entries to
88
 
\fI/etc/shadow\fR\.
 
88
\fI/etc/shadow\fR\&.
89
89
.PP
90
90
Analogamente,
91
91
\fBpwunconv\fR
92
92
e
93
93
\fBgrpunconv\fR
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à\&.
96
96
.SH "PROBLEMI"
97
97
.PP
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
99
99
\fBpwck\fR
100
100
and
101
101
\fBgrpck\fR
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"
104
104
.PP
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
108
108
\fBgrpconv\fR
109
109
and
111
111
.PP
112
112
\fBMAX_MEMBERS_PER_GROUP\fR (number)
113
113
.RS 4
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
115
115
\fI/etc/group\fR
116
 
(with the same name, same password, and same GID)\.
117
 
.sp
118
 
The default value is 0, meaning that there are no limits in the number of members in a group\.
119
 
.sp
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\.
121
 
.sp
122
 
If you need to enforce such limit, you can use 25\.
123
 
.sp
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)\&.
 
117
.sp
 
118
The default value is 0, meaning that there are no limits in the number of members in a group\&.
 
119
.sp
 
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\&.
 
121
.sp
 
122
If you need to enforce such limit, you can use 25\&.
 
123
.sp
 
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\&.
125
125
.RE
126
126
.PP
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
130
130
\fBpwconv\fR:
131
131
.PP
132
132
\fBPASS_MAX_DAYS\fR (number)
133
133
.RS 4
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)\&.
135
135
.RE
136
136
.PP
137
137
\fBPASS_MIN_DAYS\fR (number)
138
138
.RS 4
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)\&.
140
140
.RE
141
141
.PP
142
142
\fBPASS_WARN_AGE\fR (number)
143
143
.RS 4
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\&.
145
145
.RE
146
146
.SH "FILE"
147
147
.PP
148
 
\fI/etc/login\.defs\fR
 
148
\fI/etc/login\&.defs\fR
149
149
.RS 4
150
 
Shadow password suite configuration\.
 
150
Shadow password suite configuration\&.
151
151
.RE
152
152
.SH "VEDERE ANCHE"
153
153
.PP
154
154
\fBgrpck\fR(8),
155
155
\fBlogin.defs\fR(5),
156
 
\fBpwck\fR(8)\.
 
156
\fBpwck\fR(8)\&.