Initial commit for Tizen
[profile/extras/shadow-utils.git] / man / fr / chpasswd.8
1 '\" t
2 .\"     Title: chpasswd
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5 .\"      Date: 16/02/2011
6 .\"    Manual: Commandes de gestion du syst\(`eme
7 .\"    Source: Commandes de gestion du syst\(`eme
8 .\"  Language: French
9 .\"
10 .TH "CHPASSWD" "8" "16/02/2011" "Commandes de gestion du syst\(`em" "Commandes de gestion du syst\(`em"
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 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NOM"
31 chpasswd \- Mettre \(`a jour des mots de passe par lot
32 .SH "SYNOPSIS"
33 .HP \w'\fBchpasswd\fR\ 'u
34 \fBchpasswd\fR [\fIoptions\fR]
35 .SH "DESCRIPTION"
36 .PP
37 The
38 \fBchpasswd\fR
39 command reads a list of user name and password pairs from standard input and uses this information to update a group of existing users\&. Each line is of the format:
40 .PP
41 \fInom_utilisateur\fR:\fImot_de_passe\fR
42 .SS ""
43 .PP
44 By default the supplied password must be in clear\-text, and is encrypted by
45 \fBchpasswd\fR\&. Also the password age will be updated, if present\&.
46 .PP
47 The default encryption algorithm can be defined for the system with the ENCRYPT_METHOD variable of
48 /etc/login\&.defs, and can be overwiten with the
49 \fB\-e\fR,
50 \fB\-m\fR, or
51 \fB\-c\fR
52 options\&.
53 .PP
54
55 \fBchpasswd\fR
56 first update the password in memory, and then commit all the changes to disk if no errors occured for any users\&.
57 .PP
58 Cette commande est destin\('ee aux gros syst\(`emes pour lesquels un nombre importants de comptes sont cr\('e\('es en une seule fois\&.
59 .SH "OPTIONS"
60 .PP
61 Les options disponibles pour la commande
62 \fBchpasswd\fR
63 sont\ \&:
64 .PP
65 \fB\-c\fR, \fB\-\-crypt\-method\fR
66 .RS 4
67 Use the specified method to encrypt the passwords\&.
68 .sp
69 The available methods are DES, MD5, NONE, and SHA256 or SHA512 if your libc support these methods\&.
70 .RE
71 .PP
72 \fB\-e\fR, \fB\-\-encrypted\fR
73 .RS 4
74 Indique que les mots de passe fournis sont chiffr\('es\&.
75 .RE
76 .PP
77 \fB\-h\fR, \fB\-\-help\fR
78 .RS 4
79 Afficher un message d\*(Aqaide et quitter\&.
80 .RE
81 .PP
82 \fB\-m\fR, \fB\-\-md5\fR
83 .RS 4
84 Permettre d\*(Aqutiliser le chiffrement MD5, plut\(^ot que DES, lorsque les mots de passe fournis ne sont pas chiffr\('es\&.
85 .RE
86 .PP
87 \fB\-s\fR, \fB\-\-sha\-rounds\fR
88 .RS 4
89 Use the specified number of rounds to encrypt the passwords\&.
90 .sp
91 The value 0 means that the system will choose the default number of rounds for the crypt method (5000)\&.
92 .sp
93 A minimal value of 1000 and a maximal value of 999,999,999 will be enforced\&.
94 .sp
95 You can only use this option with the SHA256 or SHA512 crypt method\&.
96 .sp
97 By default, the number of rounds is defined by the SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS variables in
98 /etc/login\&.defs\&.
99 .RE
100 .SH "AVERTISSEMENTS"
101 .PP
102 Pensez \(`a fixer les permissions ou umask afin d\*(Aqemp\(^echer la lecture par les autres utilisateurs des fichiers non chiffr\('es\&.
103 .PP
104 You should make sure the passwords and the encryption method respect the system\*(Aqs password policy\&.
105 .SH "CONFIGURATION"
106 .PP
107 Les variables de configuration suivantes de
108 /etc/login\&.defs
109 modifient le comportement de cet outil\ \&:
110 .PP
111 \fBENCRYPT_METHOD\fR (cha\(^ine ce caract\(`eres)
112 .RS 4
113 D\('efinit les algorithmes de chiffrement par d\('efaut du syst\(`eme pour coder les mots de passes (si aucun algorithme n\*(Aqa \('et\('e indiqu\('e sur la ligne de commandes)\&.
114 .sp
115 Il peut prendre une de ces valeurs\ \&:
116 .sp
117 .RS 4
118 .ie n \{\
119 \h'-04'\(bu\h'+03'\c
120 .\}
121 .el \{\
122 .sp -1
123 .IP \(bu 2.3
124 .\}
125 \fIDES\fR
126 (par d\('efaut)
127 .RE
128 .sp
129 .RS 4
130 .ie n \{\
131 \h'-04'\(bu\h'+03'\c
132 .\}
133 .el \{\
134 .sp -1
135 .IP \(bu 2.3
136 .\}
137 \fIMD5\fR
138 .RE
139 .sp
140 .RS 4
141 .ie n \{\
142 \h'-04'\(bu\h'+03'\c
143 .\}
144 .el \{\
145 .sp -1
146 .IP \(bu 2.3
147 .\}
148 \fISHA256\fR
149 .RE
150 .sp
151 .RS 4
152 .ie n \{\
153 \h'-04'\(bu\h'+03'\c
154 .\}
155 .el \{\
156 .sp -1
157 .IP \(bu 2.3
158 .\}
159 \fISHA512\fR
160 .RE
161 .sp
162 Remarque\ \&: ce param\(`etre remplace la variable
163 \fBMD5_CRYPT_ENAB\fR\&.
164 .RE
165 .PP
166 \fBMD5_CRYPT_ENAB\fR (bool\('een)
167 .RS 4
168 Indicate if passwords must be encrypted using the MD5\-based algorithm\&. If set to
169 \fIyes\fR, new passwords will be encrypted using the MD5\-based algorithm compatible with the one used by recent releases of FreeBSD\&. It supports passwords of unlimited length and longer salt strings\&. Set to
170 \fIno\fR
171 if you need to copy encrypted passwords to other systems which don\*(Aqt understand the new algorithm\&. Default is
172 \fIno\fR\&.
173 .sp
174 This variable is superceded by the
175 \fBENCRYPT_METHOD\fR
176 variable or by any command line option used to configure the encryption algorithm\&.
177 .sp
178 This variable is deprecated\&. You should use
179 \fBENCRYPT_METHOD\fR\&.
180 .RE
181 .PP
182 \fBSHA_CRYPT_MIN_ROUNDS\fR (nombre), \fBSHA_CRYPT_MAX_ROUNDS\fR (nombre)
183 .RS 4
184 When
185 \fBENCRYPT_METHOD\fR
186 is set to
187 \fISHA256\fR
188 or
189 \fISHA512\fR, this defines the number of SHA rounds used by the encryption algorithm by default (when the number of rounds is not specified on the command line)\&.
190 .sp
191 With a lot of rounds, it is more difficult to brute forcing the password\&. But note also that more CPU resources will be needed to authenticate users\&.
192 .sp
193 If not specified, the libc will choose the default number of rounds (5000)\&.
194 .sp
195 The values must be inside the 1000\-999999999 range\&.
196 .sp
197 If only one of the
198 \fBSHA_CRYPT_MIN_ROUNDS\fR
199 or
200 \fBSHA_CRYPT_MAX_ROUNDS\fR
201 values is set, then this value will be used\&.
202 .sp
203 If
204 \fBSHA_CRYPT_MIN_ROUNDS\fR
205 >
206 \fBSHA_CRYPT_MAX_ROUNDS\fR, the highest value will be used\&.
207 .RE
208 .SH "FICHIERS"
209 .PP
210 /etc/passwd
211 .RS 4
212 Informations sur les comptes des utilisateurs\&.
213 .RE
214 .PP
215 /etc/shadow
216 .RS 4
217 Informations s\('ecuris\('ees sur les comptes utilisateurs\&.
218 .RE
219 .PP
220 /etc/login\&.defs
221 .RS 4
222 Configuration de la suite des mots de passe cach\('es \(Fo\ \&shadow password\ \&\(Fc\&.
223 .RE
224 .SH "VOIR AUSSI"
225 .PP
226
227 \fBpasswd\fR(1),
228 \fBnewusers\fR(8),
229 \fBlogin.defs\fR(5),
230 \fBuseradd\fR(8)\&.