Subversion Repositories svn LFS-FR

Rev

Rev 8163 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7156 jlepiller 1
# SOME DESCRIPTIVE TITLE
2
# Copyright (C) YEAR Free Software Foundation, Inc.
3
# This file is distributed under the same license as the PACKAGE package.
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
7313 jlepiller 5
#
7156 jlepiller 6
msgid ""
7
msgstr ""
8
"Project-Id-Version: PACKAGE VERSION\n"
9
"POT-Creation-Date: 2016-08-09 15:54+0200\n"
7925 jlepiller 10
"PO-Revision-Date: 2019-05-13 08:12+0000\n"
7334 jlepiller 11
"Last-Translator: roptat <roptat@lepiller.eu>\n"
7156 jlepiller 12
"Language-Team: LANGUAGE <LL@li.org>\n"
7313 jlepiller 13
"Language: fr\n"
7156 jlepiller 14
"MIME-Version: 1.0\n"
15
"Content-Type: text/plain; charset=UTF-8\n"
16
"Content-Transfer-Encoding: 8bit\n"
17
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
7228 jlepiller 18
"X-Generator: Pootle 2.8\n"
7925 jlepiller 19
"X-POOTLE-MTIME: 1557735164.996041\n"
7156 jlepiller 20
 
21
#. type: Content of the shadow-download-http entity
22
#: blfs-en/postlfs/security/shadow.xml:7
23
msgid ""
7228 jlepiller 24
"https://github.com/shadow-maint/shadow/releases/download/&shadow-"
25
"version;/shadow-&shadow-version;.tar.xz"
7156 jlepiller 26
msgstr ""
7228 jlepiller 27
"https://github.com/shadow-maint/shadow/releases/download/&shadow-"
28
"version;/shadow-&shadow-version;.tar.xz"
7156 jlepiller 29
 
30
#. type: Content of the shadow-md5sum entity
31
#: blfs-en/postlfs/security/shadow.xml:9
8215 jlepiller 32
msgid "4b05eff8a427cf50e615bda324b5bc45"
33
msgstr "4b05eff8a427cf50e615bda324b5bc45"
7156 jlepiller 34
 
35
#. type: Content of the shadow-size entity
36
#: blfs-en/postlfs/security/shadow.xml:10
8163 jlepiller 37
msgid "1.5 MB"
38
msgstr "1.5 Mo"
7156 jlepiller 39
 
40
#. type: Content of the shadow-buildsize entity
41
#: blfs-en/postlfs/security/shadow.xml:11
8215 jlepiller 42
msgid "33 MB"
43
msgstr "33 Mo"
7156 jlepiller 44
 
45
#. type: Content of the shadow-time entity
46
#: blfs-en/postlfs/security/shadow.xml:12
47
msgid "0.2 SBU"
48
msgstr "0.2 SBU"
49
 
50
#. type: Content of: <sect1><sect1info>
51
#: blfs-en/postlfs/security/shadow.xml:19
8092 jlepiller 52
#| msgid ""
8215 jlepiller 53
#| "<othername>$LastChangedBy: renodr $</othername> <date>$Date: 2019-12-05 "
54
#| "18:46:53 +0000 (Thu, 05 Dec 2019) $</date>"
7156 jlepiller 55
msgid ""
8215 jlepiller 56
"<othername>$LastChangedBy: bdubbs $</othername> <date>$Date: 2020-01-27 "
57
"19:29:11 +0000 (Mon, 27 Jan 2020) $</date>"
7156 jlepiller 58
msgstr ""
8215 jlepiller 59
"<othername>$LastChangedBy: bdubbs $</othername> <date>$Date: 2020-01-27 "
60
"19:29:11 +0000 (Mon, 27 Jan 2020) $</date>"
7156 jlepiller 61
 
62
#. type: Content of: <sect1><title>
63
#: blfs-en/postlfs/security/shadow.xml:23
64
msgid "Shadow-&shadow-version;"
65
msgstr "Shadow-&shadow-version;"
66
 
67
#. type: Content of: <sect1><indexterm><primary>
68
#: blfs-en/postlfs/security/shadow.xml:26
69
msgid "Shadow"
70
msgstr "Shadow"
71
 
72
#. type: Content of: <sect1><sect2><title>
73
#: blfs-en/postlfs/security/shadow.xml:30
74
msgid "Introduction to Shadow"
75
msgstr "Introduction à Shadow"
76
 
77
#. type: Content of: <sect1><sect2><para>
78
#: blfs-en/postlfs/security/shadow.xml:33
79
msgid ""
80
"<application>Shadow</application> was indeed installed in LFS and there is "
7165 jlepiller 81
"no reason to reinstall it unless you installed "
82
"<application>CrackLib</application> or <application>Linux-PAM</application> "
83
"after your LFS system was completed.  If you have installed "
84
"<application>CrackLib</application> after LFS, then reinstalling "
85
"<application>Shadow</application> will enable strong password support. If "
86
"you have installed <application>Linux-PAM</application>, reinstalling "
87
"<application>Shadow</application> will allow programs such as "
88
"<command>login</command> and <command>su</command> to utilize PAM."
7156 jlepiller 89
msgstr ""
90
"<application>Shadow</application> a effectivement été installé dans LFS et "
91
"il n'y a aucune raison pour le réinstaller, sauf si vous avez installé "
92
"<application>CrackLib</application> ou <application>Linux-PAM</application> "
93
"après que votre système LFS ai été terminé. Si vous avez installé "
94
"<application>CrackLib</application> après LFS, la réinstallation de "
95
"<application>Shadow</application> activera le support des mots de passe "
96
"renforcés. Si vous avez installé <application>Linux-PAM</application>, la "
97
"réinstallation de <application>Shadow</application> permettra à des "
98
"programmes tels que <command>login</command> et <command>su</command> "
99
"d'utiliser PAM."
100
 
101
#. type: Content of: <sect1><sect2><bridgehead>
7304 jlepiller 102
#: blfs-en/postlfs/security/shadow.xml:46
7156 jlepiller 103
msgid "Package Information"
104
msgstr "Informations sur le paquet"
105
 
106
#. type: Content of: <sect1><sect2><itemizedlist><listitem><para>
7304 jlepiller 107
#: blfs-en/postlfs/security/shadow.xml:50
7156 jlepiller 108
msgid "Download (HTTP): <ulink url=\"&shadow-download-http;\"/>"
109
msgstr "Téléchargement (HTTP)&nbsp;: <ulink url=\"&shadow-download-http;\"/>"
110
 
111
#. type: Content of: <sect1><sect2><itemizedlist><listitem><para>
7304 jlepiller 112
#: blfs-en/postlfs/security/shadow.xml:55
7156 jlepiller 113
msgid "Download (FTP): <ulink url=\"&shadow-download-ftp;\"/>"
114
msgstr "Téléchargement (FTP)&nbsp;: <ulink url=\"&shadow-download-ftp;\"/>"
115
 
116
#. type: Content of: <sect1><sect2><itemizedlist><listitem><para>
7304 jlepiller 117
#: blfs-en/postlfs/security/shadow.xml:60
7156 jlepiller 118
msgid "Download MD5 sum: &shadow-md5sum;"
119
msgstr "Somme de contrôle MD5 du téléchargement&nbsp;: &shadow-md5sum;"
120
 
121
#. type: Content of: <sect1><sect2><itemizedlist><listitem><para>
7304 jlepiller 122
#: blfs-en/postlfs/security/shadow.xml:65
7156 jlepiller 123
msgid "Download size: &shadow-size;"
124
msgstr "Taille du téléchargement&nbsp;: &shadow-size;"
125
 
126
#. type: Content of: <sect1><sect2><itemizedlist><listitem><para>
7304 jlepiller 127
#: blfs-en/postlfs/security/shadow.xml:70
7156 jlepiller 128
msgid "Estimated disk space required: &shadow-buildsize;"
129
msgstr "Estimation de l'espace disque requis&nbsp;: &shadow-buildsize;"
130
 
131
#. type: Content of: <sect1><sect2><itemizedlist><listitem><para>
7304 jlepiller 132
#: blfs-en/postlfs/security/shadow.xml:75
7156 jlepiller 133
msgid "Estimated build time: &shadow-time;"
134
msgstr "Estimation du temps de construction&nbsp;: &shadow-time;"
135
 
136
#. type: Content of: <sect1><sect2><bridgehead>
7304 jlepiller 137
#: blfs-en/postlfs/security/shadow.xml:80
7156 jlepiller 138
msgid "Shadow Dependencies"
139
msgstr "Dépendances de Shadow"
140
 
141
#. type: Content of: <sect1><sect2><bridgehead>
7304 jlepiller 142
#: blfs-en/postlfs/security/shadow.xml:82
7156 jlepiller 143
msgid "Required"
144
msgstr "Requises"
145
 
146
#. type: Content of: <sect1><sect2><para>
7304 jlepiller 147
#: blfs-en/postlfs/security/shadow.xml:84
7156 jlepiller 148
msgid "<xref linkend=\"linux-pam\"/> or <xref linkend=\"cracklib\"/>"
149
msgstr "<xref linkend=\"linux-pam\"/> ou <xref linkend=\"cracklib\"/>"
150
 
151
#. type: Content of: <sect1><sect2><para>
7304 jlepiller 152
#: blfs-en/postlfs/security/shadow.xml:89
7156 jlepiller 153
msgid "User Notes: <ulink url=\"&blfs-wiki;/shadow\"/>"
154
msgstr "Notes utilisateur&nbsp;: <ulink url=\"&blfs-wiki;/shadow\"/>"
155
 
156
#. type: Content of: <sect1><sect2><title>
7304 jlepiller 157
#: blfs-en/postlfs/security/shadow.xml:94
7156 jlepiller 158
msgid "Installation of Shadow"
159
msgstr "Installation de Shadow"
160
 
161
#. type: Content of: <sect1><sect2><important><para>
7304 jlepiller 162
#: blfs-en/postlfs/security/shadow.xml:98
7156 jlepiller 163
msgid ""
164
"The installation commands shown below are for installations where "
165
"<application>Linux-PAM</application> has been installed (with or without a "
7165 jlepiller 166
"<application>CrackLib</application> installation) and "
167
"<application>Shadow</application> is being reinstalled to support the "
168
"<application>Linux-PAM</application> installation."
7156 jlepiller 169
msgstr ""
170
"Les commandes d'installation indiquées ci-dessous valent pour les "
7165 jlepiller 171
"installations où on a installé <application>Linux-PAM</application> (avec ou"
172
" sans installation de <application>CrackLib</application>) et "
7156 jlepiller 173
"<application>Shadow</application> devra être réinstallé pour supporter "
174
"l'installation de <application>Linux-PAM</application>."
175
 
176
#. type: Content of: <sect1><sect2><important><para>
7304 jlepiller 177
#: blfs-en/postlfs/security/shadow.xml:106
7156 jlepiller 178
msgid ""
179
"If you are reinstalling <application>Shadow</application> to provide strong "
180
"password support using the <application>CrackLib</application> library "
181
"without using <application>Linux-PAM</application>, ensure you add the "
7165 jlepiller 182
"<parameter>--with-libcrack</parameter> parameter to the "
183
"<command>configure</command> script below and also issue the following "
184
"command:"
7156 jlepiller 185
msgstr ""
7165 jlepiller 186
"Si vous réinstallez <application>Shadow</application> pour offrir le support"
187
" des mots de passe forts en utilisant la bibliothèque "
188
"<application>CrackLib</application> sans utiliser <application>Linux-"
189
"PAM</application>, assurez-vous d'ajouter le paramètre <parameter>--with-"
190
"libcrack</parameter> au script <command>configure</command> ci-dessous et "
191
"lancez aussi la commande suivante&nbsp;:"
7156 jlepiller 192
 
193
#. type: Content of: <sect1><sect2><important><screen>
7304 jlepiller 194
#: blfs-en/postlfs/security/shadow.xml:114
7156 jlepiller 195
#, no-wrap
7165 jlepiller 196
msgid ""
197
"<userinput>sed -i 's@DICTPATH.*@DICTPATH\\t/lib/cracklib/pw_dict@' "
198
"etc/login.defs</userinput>"
199
msgstr ""
200
"<userinput>sed -i 's@DICTPATH.*@DICTPATH\\t/lib/cracklib/pw_dict@' "
201
"etc/login.defs</userinput>"
7156 jlepiller 202
 
203
#. type: Content of: <sect1><sect2><para>
7304 jlepiller 204
#: blfs-en/postlfs/security/shadow.xml:118
7156 jlepiller 205
msgid ""
206
"Reinstall <application>Shadow</application> by running the following "
207
"commands:"
208
msgstr ""
209
"Réinstallez <application>Shadow</application> en lançant les commandes "
210
"suivantes&nbsp;:"
211
 
212
#. type: Content of: <sect1><sect2><screen>
7304 jlepiller 213
#: blfs-en/postlfs/security/shadow.xml:122
7156 jlepiller 214
#, no-wrap
8215 jlepiller 215
#| msgid ""
216
#| "<userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile.in &amp;&amp;\n"
217
#| "\n"
218
#| "find man -name Makefile.in -exec sed -i 's/groups\\.1 / /'   {} \\; &amp;&amp;\n"
219
#| "find man -name Makefile.in -exec sed -i 's/getspnam\\.3 / /' {} \\; &amp;&amp;\n"
220
#| "find man -name Makefile.in -exec sed -i 's/passwd\\.5 / /'   {} \\; &amp;&amp;\n"
221
#| "\n"
222
#| "sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \\\n"
223
#| "       -e 's@/var/spool/mail@/var/mail@' etc/login.defs &amp;&amp;\n"
224
#| "\n"
225
#| "sed -i 's/1000/999/' etc/useradd                           &amp;&amp;\n"
226
#| "\n"
227
#| "./configure --sysconfdir=/etc --with-group-name-max-length=32 &amp;&amp;\n"
228
#| "make</userinput>"
7156 jlepiller 229
msgid ""
230
"<userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile.in &amp;&amp;\n"
7228 jlepiller 231
"\n"
232
"find man -name Makefile.in -exec sed -i 's/groups\\.1 / /'   {} \\; &amp;&amp;\n"
7156 jlepiller 233
"find man -name Makefile.in -exec sed -i 's/getspnam\\.3 / /' {} \\; &amp;&amp;\n"
234
"find man -name Makefile.in -exec sed -i 's/passwd\\.5 / /'   {} \\; &amp;&amp;\n"
235
"\n"
8215 jlepiller 236
"sed -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \\\n"
237
"    -e 's@/var/spool/mail@/var/mail@'                 \\\n"
238
"    -i etc/login.defs                                 &amp;&amp;\n"
7156 jlepiller 239
"\n"
8215 jlepiller 240
"sed -i 's/1000/999/' etc/useradd                      &amp;&amp;\n"
7156 jlepiller 241
"\n"
242
"./configure --sysconfdir=/etc --with-group-name-max-length=32 &amp;&amp;\n"
243
"make</userinput>"
244
msgstr ""
245
"<userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile.in &amp;&amp;\n"
7228 jlepiller 246
"\n"
247
"find man -name Makefile.in -exec sed -i 's/groups\\.1 / /'   {} \\; &amp;&amp;\n"
7156 jlepiller 248
"find man -name Makefile.in -exec sed -i 's/getspnam\\.3 / /' {} \\; &amp;&amp;\n"
249
"find man -name Makefile.in -exec sed -i 's/passwd\\.5 / /'   {} \\; &amp;&amp;\n"
250
"\n"
8215 jlepiller 251
"sed -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \\\n"
252
"    -e 's@/var/spool/mail@/var/mail@'                 \\\n"
253
"    -i etc/login.defs                                 &amp;&amp;\n"
7156 jlepiller 254
"\n"
8215 jlepiller 255
"sed -i 's/1000/999/' etc/useradd                      &amp;&amp;\n"
7156 jlepiller 256
"\n"
257
"./configure --sysconfdir=/etc --with-group-name-max-length=32 &amp;&amp;\n"
258
"make</userinput>"
259
 
260
#. type: Content of: <sect1><sect2><para>
8215 jlepiller 261
#: blfs-en/postlfs/security/shadow.xml:138
7156 jlepiller 262
msgid "This package does not come with a test suite."
263
msgstr "Ce paquet n'est pas fourni avec une suite de tests."
264
 
265
#. type: Content of: <sect1><sect2><para>
8215 jlepiller 266
#: blfs-en/postlfs/security/shadow.xml:142
7156 jlepiller 267
msgid "Now, as the <systemitem class=\"username\">root</systemitem> user:"
268
msgstr ""
7165 jlepiller 269
"Maintenant, en tant qu'utilisateur <systemitem "
270
"class=\"username\">root</systemitem>&nbsp;:"
7156 jlepiller 271
 
272
#. type: Content of: <sect1><sect2><screen>
8215 jlepiller 273
#: blfs-en/postlfs/security/shadow.xml:145
7156 jlepiller 274
#, no-wrap
8163 jlepiller 275
msgid "<userinput>make install</userinput>"
276
msgstr "<userinput>make install</userinput>"
7156 jlepiller 277
 
278
#. type: Content of: <sect1><sect2><title>
8215 jlepiller 279
#: blfs-en/postlfs/security/shadow.xml:150
7156 jlepiller 280
msgid "Command Explanations"
281
msgstr "Explication des commandes"
282
 
283
#. type: Content of: <sect1><sect2><para>
8215 jlepiller 284
#: blfs-en/postlfs/security/shadow.xml:153
7156 jlepiller 285
msgid ""
286
"<command>sed -i 's/groups$(EXEEXT) //' src/Makefile.in</command>: This sed "
287
"is used to suppress the installation of the <command>groups</command> "
7165 jlepiller 288
"program as the version from the <application>Coreutils</application> package"
289
" installed during LFS is preferred."
7156 jlepiller 290
msgstr ""
291
"<command>sed -i 's/groups$(EXEEXT) //' src/Makefile.in</command>&nbsp;: "
292
"Cette commande est utilisée pour supprimer l'installation du programme "
293
"<command>groups</command> vu qu'on préfère la version issue du paquet "
294
"<application>Coreutils</application> installé avec LFS."
295
 
296
#. type: Content of: <sect1><sect2><para>
8215 jlepiller 297
#: blfs-en/postlfs/security/shadow.xml:160
7156 jlepiller 298
msgid ""
7165 jlepiller 299
"<command>find man -name Makefile.in -exec ... {} \\;</command>: This command"
300
" is used to suppress the installation of the <command>groups</command> man "
301
"pages so the existing ones installed from the "
302
"<application>Coreutils</application> package are not replaced."
7156 jlepiller 303
msgstr ""
7184 jlepiller 304
"<command>find man -name Makefile.in -exec ... {} \\;</command>&nbsp;: Cette "
7156 jlepiller 305
"commande est utilisée pour supprimer l'installation des pages de manuel "
7216 jlepiller 306
"<command>groups</command> pour que celles existantes et issues du paquet "
7156 jlepiller 307
"<application>Coreutils</application> ne soient pas remplacées."
308
 
309
#. type: Content of: <sect1><sect2><para>
8215 jlepiller 310
#: blfs-en/postlfs/security/shadow.xml:167
311
#, fuzzy
312
#| msgid ""
313
#| "<command>sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' -e "
314
#| "'s@/var/spool/mail@/var/mail@' etc/login.defs</command>: Instead of using "
315
#| "the default 'DES' method, this command modifies the installation to use the "
316
#| "more secure 'SHA512' method of hashing passwords, which also allows "
317
#| "passwords longer than eight characters. It also changes the obsolete "
318
#| "<filename class=\"directory\">/var/spool/mail</filename> location for user "
319
#| "mailboxes that <application>Shadow</application> uses by default to the "
320
#| "<filename class=\"directory\">/var/mail</filename> location."
7156 jlepiller 321
msgid ""
8215 jlepiller 322
"<command>sed -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' -e "
323
"'s@/var/spool/mail@/var/mail@' -i etc/login.defs</command>: Instead of using"
324
" the default 'DES' method, this command modifies the installation to use the"
325
" more secure 'SHA512' method of hashing passwords, which also allows "
7165 jlepiller 326
"passwords longer than eight characters. It also changes the obsolete "
327
"<filename class=\"directory\">/var/spool/mail</filename> location for user "
328
"mailboxes that <application>Shadow</application> uses by default to the "
329
"<filename class=\"directory\">/var/mail</filename> location."
7156 jlepiller 330
msgstr ""
7165 jlepiller 331
"<command>sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' -e "
332
"'s@/var/spool/mail@/var/mail@' etc/login.defs</command>&nbsp;: Au lieu "
333
"d'utiliser la méthode 'DES' par défaut, cette commande modifie "
7216 jlepiller 334
"l'installation pour utiliser la méthode plus sécurisée de hashage des mots "
335
"de passe 'SHA512', qui autorise aussi les mots de passe d'une longueur "
336
"supérieure à huit caractères. Elle modifie aussi l'emplacement <filename "
337
"class=\"directory\">/var/spool/mail</filename> obsolète pour les boîtes aux "
338
"lettres utilisateur qu'utilise <application>Shadow</application> par défaut "
339
"en <filename class=\"directory\">/var/mail</filename>."
7156 jlepiller 340
 
341
#. type: Content of: <sect1><sect2><para>
8215 jlepiller 342
#: blfs-en/postlfs/security/shadow.xml:178
7156 jlepiller 343
msgid ""
344
"<command>sed -i 's/1000/999/' etc/useradd</command>: Make a minor change to "
345
"make the default useradd consistent with the LFS groups file."
346
msgstr ""
347
"<command>sed -i 's/1000/999/' etc/useradd</command>&nbsp;: Fait une "
7216 jlepiller 348
"modification mineure pour faire que l'ajout de l'utilisateur par défaut soit"
349
" cohérent avec le fichier groups de LFS."
7156 jlepiller 350
 
351
#. type: Content of: <sect1><sect2><para>
8215 jlepiller 352
#: blfs-en/postlfs/security/shadow.xml:183
7156 jlepiller 353
msgid ""
7190 jlepiller 354
"<parameter>--with-group-name-max-length=32</parameter>: The maximum user "
355
"name is 32 characters. Make the maximum group name the same."
7156 jlepiller 356
msgstr ""
7196 jlepiller 357
"<parameter>--with-group-name-max-length=32</parameter>&nbsp;: Le nom "
7197 jlepiller 358
"d'utilisateur utilise au maximum 32 caractères. Faites la même chose pour le"
359
" nom du groupe."
7156 jlepiller 360
 
361
#. type: Content of: <sect1><sect2><title>
8215 jlepiller 362
#: blfs-en/postlfs/security/shadow.xml:199
7156 jlepiller 363
msgid "Configuring Shadow"
364
msgstr "Configuration de Shadow"
365
 
366
#. type: Content of: <sect1><sect2><para>
8215 jlepiller 367
#: blfs-en/postlfs/security/shadow.xml:202
7156 jlepiller 368
msgid ""
369
"<application>Shadow</application>'s stock configuration for the "
370
"<command>useradd</command> utility may not be desirable for your "
371
"installation. One default parameter causes <command>useradd</command> to "
7165 jlepiller 372
"create a mailbox file for any newly created user.  "
373
"<command>useradd</command> will make the group ownership of this file to the"
374
" <systemitem class=\"groupname\">mail</systemitem> group with 0660 "
375
"permissions. If you would prefer that these mailbox files are not created by"
376
" <command>useradd</command>, issue the following command as the <systemitem "
377
"class=\"username\">root</systemitem> user:"
7156 jlepiller 378
msgstr ""
379
"La configuration par défaut de <application>Shadow</application> pour "
380
"l'outil <command>useradd</command> peut ne pas être désirable pour votre "
381
"installation. Un paramètre par défaut a pour conséquence que "
382
"<command>useradd</command> crée un fichier de boîte aux lettres pour chaque "
383
"nouvel utilisateur créé. <command>useradd</command> donnera l'appartenance "
7165 jlepiller 384
"de groupe de ce fichier au groupe <systemitem "
385
"class=\"groupname\">mail</systemitem> avec les droits 0660. Si vous "
7216 jlepiller 386
"préférerez que ces fichiers boîtes aux lettres ne soient pas créés par "
7165 jlepiller 387
"<command>useradd</command>, lancez la commande suivante en tant "
388
"qu'utilisateur <systemitem class=\"username\">root</systemitem>&nbsp;:"
7156 jlepiller 389
 
390
#. type: Content of: <sect1><sect2><screen>
8215 jlepiller 391
#: blfs-en/postlfs/security/shadow.xml:213
7156 jlepiller 392
#, no-wrap
393
msgid "<userinput>sed -i 's/yes/no/' /etc/default/useradd</userinput>"
394
msgstr "<userinput>sed -i 's/yes/no/' /etc/default/useradd</userinput>"
395
 
396
#. type: Content of: <sect1><sect2><title>
8215 jlepiller 397
#: blfs-en/postlfs/security/shadow.xml:217
7156 jlepiller 398
msgid "Configuring Linux-PAM to Work with Shadow"
399
msgstr "Configuration de Linux-PAM pour fonctionner avec Shadow"
400
 
401
#. type: Content of: <sect1><sect2><note><para>
8215 jlepiller 402
#: blfs-en/postlfs/security/shadow.xml:221
7156 jlepiller 403
msgid ""
7165 jlepiller 404
"The rest of this page is devoted to configuring "
405
"<application>Shadow</application> to work properly with <application>Linux-"
406
"PAM</application>. If you do not have <application>Linux-PAM</application> "
407
"installed, and you reinstalled <application>Shadow</application> to support "
408
"strong passwords via the <application>CrackLib</application> library, no "
409
"further configuration is required."
7156 jlepiller 410
msgstr ""
411
"Le reste de cette page est consacré à la configuration de "
412
"<application>Shadow</application> pour fonctionner correctement avec "
413
"<application>Linux-PAM</application>. Si vous n'avez pas installé "
414
"<application>Linux-PAM</application> et si vous avez réinstallé "
7165 jlepiller 415
"<application>Shadow</application> pour supporter les mots de passe forts via"
416
" la bibliothèque <application>CrackLib</application>, aucune configuration "
7156 jlepiller 417
"supplémentaire n'est nécessaire."
418
 
419
#. type: Content of: <sect1><sect2><sect3><title>
8215 jlepiller 420
#: blfs-en/postlfs/security/shadow.xml:232
7156 jlepiller 421
msgid "Config Files"
422
msgstr "Fichiers de configuration"
423
 
424
#. type: Content of: <sect1><sect2><sect3><para>
8215 jlepiller 425
#: blfs-en/postlfs/security/shadow.xml:235
7156 jlepiller 426
msgid ""
7165 jlepiller 427
"<filename>/etc/pam.d/*</filename> or alternatively "
428
"<filename>/etc/pam.conf</filename>, <filename>/etc/login.defs</filename> and"
429
" <filename>/etc/security/*</filename>"
7156 jlepiller 430
msgstr ""
7165 jlepiller 431
"<filename>/etc/pam.d/*</filename> or alternatively "
432
"<filename>/etc/pam.conf</filename>, <filename>/etc/login.defs</filename> et "
433
"<filename>/etc/security/*</filename>"
7156 jlepiller 434
 
435
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
8215 jlepiller 436
#: blfs-en/postlfs/security/shadow.xml:242
7156 jlepiller 437
msgid "/etc/pam.d/*"
438
msgstr "/etc/pam.d/*"
439
 
440
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
8215 jlepiller 441
#: blfs-en/postlfs/security/shadow.xml:246
7156 jlepiller 442
msgid "/etc/pam.conf"
443
msgstr "/etc/pam.conf"
444
 
445
#. type: Content of: <sect1><sect2><sect3><sect4><indexterm><primary>
8215 jlepiller 446
#: blfs-en/postlfs/security/shadow.xml:250
447
#: blfs-en/postlfs/security/shadow.xml:298
7156 jlepiller 448
msgid "/etc/login.defs"
449
msgstr "/etc/login.defs"
450
 
451
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
8215 jlepiller 452
#: blfs-en/postlfs/security/shadow.xml:254
7156 jlepiller 453
msgid "/etc/security/*"
454
msgstr "/etc/security/*"
455
 
456
#. type: Content of: <sect1><sect2><sect3><title>
8215 jlepiller 457
#: blfs-en/postlfs/security/shadow.xml:259
7156 jlepiller 458
msgid "Configuration Information"
459
msgstr "Informations de configuration"
460
 
461
#. type: Content of: <sect1><sect2><sect3><para>
8215 jlepiller 462
#: blfs-en/postlfs/security/shadow.xml:262
7156 jlepiller 463
msgid ""
7165 jlepiller 464
"Configuring your system to use <application>Linux-PAM</application> can be a"
465
" complex task. The information below will provide a basic setup so that "
7156 jlepiller 466
"<application>Shadow</application>'s login and password functionality will "
467
"work effectively with <application>Linux-PAM</application>. Review the "
468
"information and links on the <xref linkend=\"linux-pam\"/> page for further "
469
"configuration information. For information specific to integrating "
470
"<application>Shadow</application>, <application>Linux-PAM</application> and "
471
"<application>CrackLib</application>, you can visit the following link:"
472
msgstr ""
7165 jlepiller 473
"La configuration de votre système pour utiliser <application>Linux-"
474
"PAM</application> peut être une tâche complexe. Les informations ci-dessous "
475
"fourniront un paramétrage de base pour que la fonctionnalité de connexion et"
476
" de mot de passe de <application>Shadow</application> fonctionne bien avec "
477
"<application>Linux-PAM</application>. Regardez les informations et les liens"
478
" sur la page <xref linkend=\"linux-pam\"/> pour des informations de "
7156 jlepiller 479
"configuration supplémentaires. Pour des informations spécifiques à "
7165 jlepiller 480
"l'intégration de <application>Shadow</application>, <application>Linux-"
481
"PAM</application> et <application>CrackLib</application>, vous pouvez "
482
"visiter les liens suivants&nbsp;:"
7156 jlepiller 483
 
484
#. type: Content of: <sect1><sect2><sect3><itemizedlist><listitem><para>
8215 jlepiller 485
#: blfs-en/postlfs/security/shadow.xml:278
7684 jlepiller 486
msgid "<ulink url=\"http://www.deer-run.com/~hal/linux_passwords_pam.html\"/>"
487
msgstr "<ulink url=\"http://www.deer-run.com/~hal/linux_passwords_pam.html\"/>"
7156 jlepiller 488
 
489
#. type: Content of: <sect1><sect2><sect3><sect4><title>
8215 jlepiller 490
#: blfs-en/postlfs/security/shadow.xml:284
7156 jlepiller 491
msgid "Configuring /etc/login.defs"
492
msgstr "Configuration de /etc/login.defs"
493
 
494
#. type: Content of: <sect1><sect2><sect3><sect4><para>
8215 jlepiller 495
#: blfs-en/postlfs/security/shadow.xml:287
7156 jlepiller 496
msgid ""
7165 jlepiller 497
"The <command>login</command> program currently performs many functions which"
498
" <application>Linux-PAM</application> modules should now handle.  The "
7156 jlepiller 499
"following <command>sed</command> command will comment out the appropriate "
7165 jlepiller 500
"lines in <filename>/etc/login.defs</filename>, and stop "
501
"<command>login</command> from performing these functions (a backup file "
502
"named <filename>/etc/login.defs.orig</filename> is also created to preserve "
503
"the original file's contents). Issue the following commands as the "
504
"<systemitem class=\"username\">root</systemitem> user:"
7156 jlepiller 505
msgstr ""
506
"Le programme <command>login</command> effectue actuellement beaucoup de "
507
"fonctions que les modules <application>Linux-PAM</application> devraient "
508
"maintenant gérer. La commande <command>sed</command> suivante va commenter "
509
"les lignes adéquates dans <filename>/etc/login.defs</filename> et empêcher "
7165 jlepiller 510
"<command>login</command> d'effectuer ces fonctions (un fichier de sauvegarde"
511
" appelé <filename>/etc/login.defs.orig</filename> est également créé pour "
512
"préserver le contenu du fichier d'origine). Exécutez les commandes suivantes"
513
" en tant qu'utilisateur <systemitem "
514
"class=\"username\">root</systemitem>&nbsp;:"
7156 jlepiller 515
 
516
#. type: Content of: <sect1><sect2><sect3><sect4><screen>
8215 jlepiller 517
#: blfs-en/postlfs/security/shadow.xml:301
7156 jlepiller 518
#, no-wrap
519
msgid ""
520
"<userinput>install -v -m644 /etc/login.defs /etc/login.defs.orig &amp;&amp;\n"
521
"for FUNCTION in FAIL_DELAY               \\\n"
522
"                FAILLOG_ENAB             \\\n"
523
"                LASTLOG_ENAB             \\\n"
524
"                MAIL_CHECK_ENAB          \\\n"
525
"                OBSCURE_CHECKS_ENAB      \\\n"
526
"                PORTTIME_CHECKS_ENAB     \\\n"
527
"                QUOTAS_ENAB              \\\n"
528
"                CONSOLE MOTD_FILE        \\\n"
529
"                FTMP_FILE NOLOGINS_FILE  \\\n"
530
"                ENV_HZ PASS_MIN_LEN      \\\n"
531
"                SU_WHEEL_ONLY            \\\n"
532
"                CRACKLIB_DICTPATH        \\\n"
533
"                PASS_CHANGE_TRIES        \\\n"
534
"                PASS_ALWAYS_WARN         \\\n"
535
"                CHFN_AUTH ENCRYPT_METHOD \\\n"
536
"                ENVIRON_FILE\n"
537
"do\n"
538
"    sed -i \"s/^${FUNCTION}/# &amp;/\" /etc/login.defs\n"
539
"done</userinput>"
540
msgstr ""
541
"<userinput>install -v -m644 /etc/login.defs /etc/login.defs.orig &amp;&amp;\n"
542
"for FUNCTION in FAIL_DELAY               \\\n"
543
"                FAILLOG_ENAB             \\\n"
544
"                LASTLOG_ENAB             \\\n"
545
"                MAIL_CHECK_ENAB          \\\n"
546
"                OBSCURE_CHECKS_ENAB      \\\n"
547
"                PORTTIME_CHECKS_ENAB     \\\n"
548
"                QUOTAS_ENAB              \\\n"
549
"                CONSOLE MOTD_FILE        \\\n"
550
"                FTMP_FILE NOLOGINS_FILE  \\\n"
551
"                ENV_HZ PASS_MIN_LEN      \\\n"
552
"                SU_WHEEL_ONLY            \\\n"
553
"                CRACKLIB_DICTPATH        \\\n"
554
"                PASS_CHANGE_TRIES        \\\n"
555
"                PASS_ALWAYS_WARN         \\\n"
556
"                CHFN_AUTH ENCRYPT_METHOD \\\n"
557
"                ENVIRON_FILE\n"
558
"do\n"
559
"    sed -i \"s/^${FUNCTION}/# &amp;/\" /etc/login.defs\n"
560
"done</userinput>"
561
 
562
#. type: Content of: <sect1><sect2><sect3><sect4><title>
8215 jlepiller 563
#: blfs-en/postlfs/security/shadow.xml:324
7156 jlepiller 564
msgid "Configuring the /etc/pam.d/ Files"
565
msgstr "Configuration des fichiers /etc/pam.d/"
566
 
567
#. type: Content of: <sect1><sect2><sect3><sect4><para>
8215 jlepiller 568
#: blfs-en/postlfs/security/shadow.xml:327
7156 jlepiller 569
msgid ""
570
"As mentioned previously in the <application>Linux-PAM</application> "
7165 jlepiller 571
"instructions, <application>Linux-PAM</application> has two supported methods"
572
" for configuration. The commands below assume that you've chosen to use a "
7156 jlepiller 573
"directory based configuration, where each program has its own configuration "
574
"file.  You can optionally use a single <filename>/etc/pam.conf</filename> "
7165 jlepiller 575
"configuration file by using the text from the files below, and supplying the"
576
" program name as an additional first field for each line."
7156 jlepiller 577
msgstr ""
578
"Comme indiqué précédemment dans les instructions pour <application>Linux-"
579
"PAM</application>, <application>Linux-PAM</application> supporte deux "
580
"méthodes de configuration. Les commandes ci-dessous supposent que vous avez "
581
"choisi d'utiliser une configuration basée sur le répertoire, où chaque "
582
"programme a son propre fichier de configuration. Vous pouvez éventuellement "
7165 jlepiller 583
"utiliser un seul fichier de configuration <filename>/etc/pam.conf</filename>"
584
" en utilisant le texte de configuration des fichiers ci-dessous, en "
7156 jlepiller 585
"fournissant le nom du programme comme premier champ à chaque ligne."
586
 
587
#. type: Content of: <sect1><sect2><sect3><sect4><para>
8215 jlepiller 588
#: blfs-en/postlfs/security/shadow.xml:338
7156 jlepiller 589
msgid ""
590
"As the <systemitem class=\"username\">root</systemitem> user, replace the "
591
"following <application>Linux-PAM</application> configuration files in the "
592
"<filename class=\"directory\">/etc/pam.d/</filename> directory (or add the "
593
"contents to the <filename>/etc/pam.conf</filename> file)  using the "
594
"following commands:"
595
msgstr ""
596
"En tant qu'utilisateur <systemitem class=\"username\">root</systemitem>, "
7165 jlepiller 597
"remplacez les fichiers de configuration <application>Linux-PAM</application>"
598
" suivants dans le répertoire <filename "
599
"class=\"directory\">/etc/pam.d/</filename> (ou ajoutez le contenu du fichier"
600
" <filename>/etc/pam.conf</filename>) en utilisant les commandes "
601
"suivantes&nbsp;:"
7156 jlepiller 602
 
603
#. type: Content of: <sect1><sect2><sect3><sect4><title>
8215 jlepiller 604
#: blfs-en/postlfs/security/shadow.xml:347
7156 jlepiller 605
msgid "'login'"
606
msgstr "'login'"
607
 
608
#. type: Content of: <sect1><sect2><sect3><sect4><screen>
8215 jlepiller 609
#: blfs-en/postlfs/security/shadow.xml:349
7156 jlepiller 610
#, no-wrap
611
msgid ""
612
"<userinput>cat &gt; /etc/pam.d/login &lt;&lt; \"EOF\"\n"
613
"<literal># Begin /etc/pam.d/login\n"
614
"\n"
615
"# Set failure delay before next prompt to 3 seconds\n"
616
"auth      optional    pam_faildelay.so  delay=3000000\n"
617
"\n"
618
"# Check to make sure that the user is allowed to login\n"
619
"auth      requisite   pam_nologin.so\n"
620
"\n"
621
"# Check to make sure that root is allowed to login\n"
622
"# Disabled by default. You will need to create /etc/securetty\n"
623
"# file for this module to function. See man 5 securetty.\n"
624
"#auth      required    pam_securetty.so\n"
625
"\n"
626
"# Additional group memberships - disabled by default\n"
627
"#auth      optional    pam_group.so\n"
628
"\n"
7684 jlepiller 629
"# include system auth settings\n"
7156 jlepiller 630
"auth      include     system-auth\n"
631
"\n"
632
"# check access for the user\n"
633
"account   required    pam_access.so\n"
634
"\n"
7684 jlepiller 635
"# include system account settings\n"
7156 jlepiller 636
"account   include     system-account\n"
637
"\n"
638
"# Set default environment variables for the user\n"
639
"session   required    pam_env.so\n"
640
"\n"
641
"# Set resource limits for the user\n"
642
"session   required    pam_limits.so\n"
643
"\n"
644
"# Display date of last login - Disabled by default\n"
645
"#session   optional    pam_lastlog.so\n"
646
"\n"
647
"# Display the message of the day - Disabled by default\n"
648
"#session   optional    pam_motd.so\n"
649
"\n"
650
"# Check user's mail - Disabled by default\n"
651
"#session   optional    pam_mail.so      standard quiet\n"
652
"\n"
7684 jlepiller 653
"# include system session and password settings\n"
7156 jlepiller 654
"session   include     system-session\n"
655
"password  include     system-password\n"
656
"\n"
657
"# End /etc/pam.d/login</literal>\n"
658
"EOF</userinput>"
659
msgstr ""
660
"<userinput>cat &gt; /etc/pam.d/login &lt;&lt; \"EOF\"\n"
661
"<literal># Begin /etc/pam.d/login\n"
662
"\n"
663
"# Set failure delay before next prompt to 3 seconds\n"
664
"auth      optional    pam_faildelay.so  delay=3000000\n"
665
"\n"
666
"# Check to make sure that the user is allowed to login\n"
667
"auth      requisite   pam_nologin.so\n"
668
"\n"
669
"# Check to make sure that root is allowed to login\n"
670
"# Disabled by default. You will need to create /etc/securetty\n"
671
"# file for this module to function. See man 5 securetty.\n"
672
"#auth      required    pam_securetty.so\n"
673
"\n"
674
"# Additional group memberships - disabled by default\n"
675
"#auth      optional    pam_group.so\n"
676
"\n"
7684 jlepiller 677
"# include system auth settings\n"
7156 jlepiller 678
"auth      include     system-auth\n"
679
"\n"
680
"# check access for the user\n"
681
"account   required    pam_access.so\n"
682
"\n"
7684 jlepiller 683
"# include system account settings\n"
7156 jlepiller 684
"account   include     system-account\n"
685
"\n"
686
"# Set default environment variables for the user\n"
687
"session   required    pam_env.so\n"
688
"\n"
689
"# Set resource limits for the user\n"
690
"session   required    pam_limits.so\n"
691
"\n"
692
"# Display date of last login - Disabled by default\n"
693
"#session   optional    pam_lastlog.so\n"
694
"\n"
695
"# Display the message of the day - Disabled by default\n"
696
"#session   optional    pam_motd.so\n"
697
"\n"
698
"# Check user's mail - Disabled by default\n"
699
"#session   optional    pam_mail.so      standard quiet\n"
700
"\n"
7684 jlepiller 701
"# include system session and password settings\n"
7156 jlepiller 702
"session   include     system-session\n"
703
"password  include     system-password\n"
704
"\n"
705
"# End /etc/pam.d/login</literal>\n"
706
"EOF</userinput>"
707
 
708
#. type: Content of: <sect1><sect2><sect3><sect4><title>
8215 jlepiller 709
#: blfs-en/postlfs/security/shadow.xml:399
7156 jlepiller 710
msgid "'passwd'"
711
msgstr "'passwd'"
712
 
713
#. type: Content of: <sect1><sect2><sect3><sect4><screen>
8215 jlepiller 714
#: blfs-en/postlfs/security/shadow.xml:401
7156 jlepiller 715
#, no-wrap
716
msgid ""
717
"<userinput>cat &gt; /etc/pam.d/passwd &lt;&lt; \"EOF\"\n"
718
"<literal># Begin /etc/pam.d/passwd\n"
719
"\n"
720
"password  include     system-password\n"
721
"\n"
722
"# End /etc/pam.d/passwd</literal>\n"
723
"EOF</userinput>"
724
msgstr ""
725
"<userinput>cat &gt; /etc/pam.d/passwd &lt;&lt; \"EOF\"\n"
726
"<literal># Begin /etc/pam.d/passwd\n"
727
"\n"
728
"password  include     system-password\n"
729
"\n"
730
"# End /etc/pam.d/passwd</literal>\n"
731
"EOF</userinput>"
732
 
733
#. type: Content of: <sect1><sect2><sect3><sect4><title>
8215 jlepiller 734
#: blfs-en/postlfs/security/shadow.xml:411
7156 jlepiller 735
msgid "'su'"
736
msgstr "'su'"
737
 
738
#. type: Content of: <sect1><sect2><sect3><sect4><screen>
8215 jlepiller 739
#: blfs-en/postlfs/security/shadow.xml:413
7156 jlepiller 740
#, no-wrap
741
msgid ""
742
"<userinput>cat &gt; /etc/pam.d/su &lt;&lt; \"EOF\"\n"
743
"<literal># Begin /etc/pam.d/su\n"
744
"\n"
745
"# always allow root\n"
746
"auth      sufficient  pam_rootok.so\n"
7684 jlepiller 747
"\n"
748
"# Allow users in the wheel group to execute su without a password\n"
749
"# disabled by default\n"
750
"#auth      sufficient  pam_wheel.so trust use_uid\n"
751
"\n"
752
"# include system auth settings\n"
7156 jlepiller 753
"auth      include     system-auth\n"
754
"\n"
7684 jlepiller 755
"# limit su to users in the wheel group\n"
756
"auth      required    pam_wheel.so use_uid\n"
757
"\n"
758
"# include system account settings\n"
7156 jlepiller 759
"account   include     system-account\n"
760
"\n"
761
"# Set default environment variables for the service user\n"
762
"session   required    pam_env.so\n"
763
"\n"
7684 jlepiller 764
"# include system session settings\n"
7156 jlepiller 765
"session   include     system-session\n"
766
"\n"
767
"# End /etc/pam.d/su</literal>\n"
768
"EOF</userinput>"
769
msgstr ""
770
"<userinput>cat &gt; /etc/pam.d/su &lt;&lt; \"EOF\"\n"
771
"<literal># Begin /etc/pam.d/su\n"
772
"\n"
773
"# always allow root\n"
774
"auth      sufficient  pam_rootok.so\n"
7684 jlepiller 775
"\n"
776
"# Allow users in the wheel group to execute su without a password\n"
777
"# disabled by default\n"
778
"#auth      sufficient  pam_wheel.so trust use_uid\n"
779
"\n"
780
"# include system auth settings\n"
7156 jlepiller 781
"auth      include     system-auth\n"
782
"\n"
7684 jlepiller 783
"# limit su to users in the wheel group\n"
784
"auth      required    pam_wheel.so use_uid\n"
785
"\n"
786
"# include system account settings\n"
7156 jlepiller 787
"account   include     system-account\n"
788
"\n"
789
"# Set default environment variables for the service user\n"
790
"session   required    pam_env.so\n"
791
"\n"
7684 jlepiller 792
"# include system session settings\n"
7156 jlepiller 793
"session   include     system-session\n"
794
"\n"
795
"# End /etc/pam.d/su</literal>\n"
796
"EOF</userinput>"
797
 
798
#. type: Content of: <sect1><sect2><sect3><sect4><title>
8215 jlepiller 799
#: blfs-en/postlfs/security/shadow.xml:443
7156 jlepiller 800
msgid "'chage'"
801
msgstr "'chage'"
802
 
803
#. type: Content of: <sect1><sect2><sect3><sect4><screen>
8215 jlepiller 804
#: blfs-en/postlfs/security/shadow.xml:445
7165 jlepiller 805
#, no-wrap
7156 jlepiller 806
msgid ""
807
"<userinput>cat &gt; /etc/pam.d/chage &lt;&lt; \"EOF\"\n"
7164 jlepiller 808
"<literal># Begin /etc/pam.d/chage\n"
7156 jlepiller 809
"\n"
810
"# always allow root\n"
811
"auth      sufficient  pam_rootok.so\n"
812
"\n"
7684 jlepiller 813
"# include system auth, account, and session settings\n"
7156 jlepiller 814
"auth      include     system-auth\n"
815
"account   include     system-account\n"
816
"session   include     system-session\n"
817
"\n"
818
"# Always permit for authentication updates\n"
819
"password  required    pam_permit.so\n"
820
"\n"
821
"# End /etc/pam.d/chage</literal>\n"
822
"EOF</userinput>"
823
msgstr ""
824
"<userinput>cat &gt; /etc/pam.d/chage &lt;&lt; \"EOF\"\n"
7165 jlepiller 825
"<literal># Begin /etc/pam.d/chage\n"
7156 jlepiller 826
"\n"
827
"# always allow root\n"
828
"auth      sufficient  pam_rootok.so\n"
829
"\n"
7684 jlepiller 830
"# include system auth, account, and session settings\n"
7156 jlepiller 831
"auth      include     system-auth\n"
832
"account   include     system-account\n"
833
"session   include     system-session\n"
834
"\n"
835
"# Always permit for authentication updates\n"
836
"password  required    pam_permit.so\n"
837
"\n"
838
"# End /etc/pam.d/chage</literal>\n"
839
"EOF</userinput>"
840
 
841
#. type: Content of: <sect1><sect2><sect3><sect4><title>
8215 jlepiller 842
#: blfs-en/postlfs/security/shadow.xml:464
7156 jlepiller 843
msgid "Other common programs"
844
msgstr "Autres programmes utiles"
845
 
846
#. <title>
847
#. 'chfn', 'chgpasswd', 'chgpasswd', 'chsh', 'groupadd', 'groupdel',
848
#.         'groupmems', 'groupmod', 'newusers', 'useradd', 'userdel' and
849
#.         'usermod'</title>
850
#. type: Content of: <sect1><sect2><sect3><sect4><screen>
8215 jlepiller 851
#: blfs-en/postlfs/security/shadow.xml:469
7156 jlepiller 852
#, no-wrap
853
msgid ""
854
"<userinput>for PROGRAM in chfn chgpasswd chpasswd chsh groupadd groupdel \\\n"
855
"               groupmems groupmod newusers useradd userdel usermod\n"
856
"do\n"
857
"    install -v -m644 /etc/pam.d/chage /etc/pam.d/${PROGRAM}\n"
858
"    sed -i \"s/chage/$PROGRAM/\" /etc/pam.d/${PROGRAM}\n"
859
"done</userinput>"
860
msgstr ""
861
"<userinput>for PROGRAM in chfn chgpasswd chpasswd chsh groupadd groupdel \\\n"
862
"               groupmems groupmod newusers useradd userdel usermod\n"
863
"do\n"
864
"    install -v -m644 /etc/pam.d/chage /etc/pam.d/${PROGRAM}\n"
865
"    sed -i \"s/chage/$PROGRAM/\" /etc/pam.d/${PROGRAM}\n"
866
"done</userinput>"
867
 
7164 jlepiller 868
#. type: Content of: <sect1><sect2><sect3><sect4><para>
8215 jlepiller 869
#: blfs-en/postlfs/security/shadow.xml:476
7164 jlepiller 870
msgid ""
871
"Because the installation of <application>systemd</application> is not yet "
7165 jlepiller 872
"complete, you will need to remove the <filename>/run/nologin</filename> file"
873
" before testing the installation. Execute the following command as the "
7164 jlepiller 874
"<systemitem class=\"username\">root</systemitem> user:"
875
msgstr ""
7175 jlepiller 876
"Comme l'installation de <application>systemd</application> n'est pas encore "
7190 jlepiller 877
"complète, vous devrez supprimer le fichier <filename>/run/nologin</filename>"
878
" avant de tester l'installation. Exécutez la commande suivante en tant "
7175 jlepiller 879
"qu'utilisateur <systemitem class=\"username\">root</systemitem>&nbsp;:"
7164 jlepiller 880
 
881
#. type: Content of: <sect1><sect2><sect3><sect4><screen>
8215 jlepiller 882
#: blfs-en/postlfs/security/shadow.xml:482
7165 jlepiller 883
#, no-wrap
7164 jlepiller 884
msgid "<userinput>rm -f /run/nologin</userinput>"
7165 jlepiller 885
msgstr "<userinput>rm -f /run/nologin</userinput>"
7164 jlepiller 886
 
7923 jlepiller 887
#. type: Content of: <sect1><sect2><sect3><sect4><note><para>
8215 jlepiller 888
#: blfs-en/postlfs/security/shadow.xml:486
7156 jlepiller 889
msgid ""
7922 jlepiller 890
"If you are building <application>Shadow</application> with Linux-PAM, you "
7923 jlepiller 891
"should install <xref linkend=\"systemd\"/> now.  Or due to the lack of "
892
"<filename>systemd-user-sessions.service</filename>, the "
893
"<filename>/run/nologin</filename> file will prohibit the unprivileged users "
894
"to login into the system.  If that happens you can still login as "
895
"<systemitem class=\"username\">root</systemitem>."
7922 jlepiller 896
msgstr ""
7925 jlepiller 897
"Si vous construisez <application>Shadow</application> avec Linux-PAM, vous "
898
"devriez installer <xref linkend=\"systemd\"/> maintenant. Sinon, à cause de "
899
"l'absence de <filename>systemd-user-sessions.servec</filename>, le fichier "
900
"<filename>/run/nologin</filename> empêchera la connexion des utilisateurs "
901
"non privilégiés sur le système. Si cela arrive vous pouvez toujours vous "
902
"connecter en tant que <systemitem class=\"username\">root</systemitem>."
7922 jlepiller 903
 
904
#. type: Content of: <sect1><sect2><sect3><sect4><warning><para>
8215 jlepiller 905
#: blfs-en/postlfs/security/shadow.xml:497
7922 jlepiller 906
msgid ""
7165 jlepiller 907
"At this point, you should do a simple test to see if "
908
"<application>Shadow</application> is working as expected. Open another "
909
"terminal and log in as a user, then <command>su</command> to <systemitem "
910
"class=\"username\">root</systemitem>. If you do not see any errors, then all"
911
" is well and you should proceed with the rest of the configuration. If you "
912
"did receive errors, stop now and double check the above configuration files "
7876 jlepiller 913
"manually. One obvious reason for an error is if the user is not in group "
914
"<systemitem class=\"groupname\">wheel</systemitem>. You may want to run (as "
915
"<systemitem class=\"username\">root</systemitem>): <command>usermod -a -G "
916
"wheel <replaceable>&lt;user&gt;</replaceable></command>.  Any other error is"
917
" the sign of an error in the above procedure.  You can also run the test "
918
"suite from the <application>Linux-PAM</application> package to assist you in"
919
" determining the problem. If you cannot find and fix the error, you should "
920
"recompile <application>Shadow</application> adding the <option>--without-"
7165 jlepiller 921
"libpam</option> switch to the <command>configure</command> command in the "
922
"above instructions (also move the <filename>/etc/login.defs.orig</filename> "
923
"backup file to <filename>/etc/login.defs</filename>). If you fail to do this"
924
" and the errors remain, you will be unable to log into your system."
7156 jlepiller 925
msgstr ""
926
"À cette étape, vous devriez faire un simple test pour voir si "
927
"<application>Shadow</application> fonctionne comme prévu. Ouvrez un autre "
7165 jlepiller 928
"terminal et connectez-vous en tant qu'utilisateur, puis "
929
"<command>su</command> en <systemitem class=\"username\">root</systemitem>. "
7878 jlepiller 930
"Si vous ne voyez pas d'erreurs, tout va bien et vous pouvez poursuivre le "
7165 jlepiller 931
"reste de la configuration. Si vous avez reçu des erreurs, arrêtez-vous "
7878 jlepiller 932
"maintenant et vérifiez les fichiers de configuration ci-dessus à la main. "
933
"Une raison possible pour l'erreur est si l'utilisateur n'est pas dans le "
934
"groupe <systemitem class=\"groupname\">wheel</systemitem>. Vous pouvez "
935
"essayer de lacer (en <systemitem "
936
"class=\"username\">root</systemitem>)&nbsp;: <command>usermod -a -G wheel "
937
"<replaceable>&lt;user&gt;</replaceable></command>. Toute autre erreur est le"
938
" signe d'une erreur dans la procédure ci-dessus. Vous pouvez aussi lancer la"
939
" suite de tests à partir du paquet <application>Linux-PAM</application> pour"
940
" vous aider à déterminer le problème. Si vous n'arrivez pas à trouver et à "
941
"corriger l'erreur, vous devrez recompiler <application>Shadow</application> "
942
"en ajoutant le paramètre <option>--without-libpam</option> à la commande "
943
"<command>configure</command> dans les instructions ci-dessus (renommez aussi"
944
" le fichier de sauvegarde <filename>/etc/login.defs.orig</filename> en "
945
"<filename>/etc/login.defs</filename>). Si vous ne faîtes pas cela et si les "
946
"erreurs demeurent, vous ne pourrez plus vous connecter à votre système."
7156 jlepiller 947
 
948
#. type: Content of: <sect1><sect2><sect3><sect4><title>
8215 jlepiller 949
#: blfs-en/postlfs/security/shadow.xml:523
7156 jlepiller 950
msgid "Configuring Login Access"
951
msgstr "Configuration de l'accès Login"
952
 
953
#. type: Content of: <sect1><sect2><sect3><sect4><para>
8215 jlepiller 954
#: blfs-en/postlfs/security/shadow.xml:526
7156 jlepiller 955
msgid ""
956
"Instead of using the <filename>/etc/login.access</filename> file for "
957
"controlling access to the system, <application>Linux-PAM</application> uses "
7165 jlepiller 958
"the <filename class='libraryfile'>pam_access.so</filename> module along with"
959
" the <filename>/etc/security/access.conf</filename> file.  Rename the "
7156 jlepiller 960
"<filename>/etc/login.access</filename> file using the following command:"
961
msgstr ""
962
"Au lieu d'utiliser le fichier <filename>/etc/login.access</filename> pour "
963
"contrôler l'accès au système, <application>Linux-PAM</application> utilise "
964
"le module <filename class='libraryfile'>pam_access.so</filename> ainsi que "
965
"le fichier <filename>/etc/security/access.conf</filename>. Renommez le "
966
"fichier <filename>/etc/login.access</filename> en utilisant la commande "
967
"suivante&nbsp;:"
968
 
969
#. type: Content of: <sect1><sect2><sect3><sect4><indexterm><primary>
8215 jlepiller 970
#: blfs-en/postlfs/security/shadow.xml:535
7156 jlepiller 971
msgid "/etc/security/access.conf"
972
msgstr "/etc/security/access.conf"
973
 
974
#. type: Content of: <sect1><sect2><sect3><sect4><screen>
8215 jlepiller 975
#: blfs-en/postlfs/security/shadow.xml:538
7156 jlepiller 976
#, no-wrap
7165 jlepiller 977
msgid ""
978
"<userinput>[ -f /etc/login.access ] &amp;&amp; mv -v "
979
"/etc/login.access{,.NOUSE}</userinput>"
980
msgstr ""
981
"<userinput>[ -f /etc/login.access ] &amp;&amp; mv -v "
982
"/etc/login.access{,.NOUSE}</userinput>"
7156 jlepiller 983
 
984
#. type: Content of: <sect1><sect2><sect3><sect4><title>
8215 jlepiller 985
#: blfs-en/postlfs/security/shadow.xml:542
7156 jlepiller 986
msgid "Configuring Resource Limits"
987
msgstr "Configuration des limitations de ressources"
988
 
989
#. type: Content of: <sect1><sect2><sect3><sect4><para>
8215 jlepiller 990
#: blfs-en/postlfs/security/shadow.xml:545
7156 jlepiller 991
msgid ""
992
"Instead of using the <filename>/etc/limits</filename> file for limiting "
993
"usage of system resources, <application>Linux-PAM</application> uses the "
7165 jlepiller 994
"<filename class='libraryfile'>pam_limits.so</filename> module along with the"
995
" <filename>/etc/security/limits.conf</filename> file. Rename the "
996
"<filename>/etc/limits</filename> file using the following command:"
7156 jlepiller 997
msgstr ""
998
"Au lieu d'utiliser le fichier <filename>/etc/limits</filename> pour limiter "
999
"l'utilisation des ressources système, <application>Linux-PAM</application> "
1000
"utilise le module <filename class='libraryfile'>pam_limits.so</filename> "
1001
"ainsi que le fichier <filename>/etc/security/limits.conf</filename>. "
1002
"Renommez le fichier <filename>/etc/limits</filename> en utilisant la "
1003
"commande suivante&nbsp;:"
1004
 
1005
#. type: Content of: <sect1><sect2><sect3><sect4><indexterm><primary>
8215 jlepiller 1006
#: blfs-en/postlfs/security/shadow.xml:554
7156 jlepiller 1007
msgid "/etc/security/limits.conf"
1008
msgstr "/etc/security/limits.conf"
1009
 
1010
#. type: Content of: <sect1><sect2><sect3><sect4><screen>
8215 jlepiller 1011
#: blfs-en/postlfs/security/shadow.xml:557
7156 jlepiller 1012
#, no-wrap
7165 jlepiller 1013
msgid ""
1014
"<userinput>[ -f /etc/limits ] &amp;&amp; mv -v "
1015
"/etc/limits{,.NOUSE}</userinput>"
1016
msgstr ""
1017
"<userinput>[ -f /etc/limits ] &amp;&amp; mv -v "
1018
"/etc/limits{,.NOUSE}</userinput>"
7156 jlepiller 1019
 
1020
#. type: Content of: <sect1><sect2><sect3><sect4><caution><para>
8215 jlepiller 1021
#: blfs-en/postlfs/security/shadow.xml:559
7156 jlepiller 1022
msgid ""
1023
"Be sure to test the login capabilities of the system before logging out.  "
7164 jlepiller 1024
"Errors in the configuration can cause a permanent lockout requiring a boot "
7156 jlepiller 1025
"from an external source to correct the problem."
1026
msgstr ""
7175 jlepiller 1027
"Soyez certain de tester le login sur le système avant de le quitter. Des "
1028
"erreurs dans la configuration peuvent causer un blocage permanent demandant "
1029
"un démarrage depuis une source externe pour corriger le problème."
7156 jlepiller 1030
 
1031
#. type: Content of: <sect1><sect2><title>
8215 jlepiller 1032
#: blfs-en/postlfs/security/shadow.xml:570
7156 jlepiller 1033
msgid "Contents"
1034
msgstr "Contenu"
1035
 
1036
#. type: Content of: <sect1><sect2><para>
8215 jlepiller 1037
#: blfs-en/postlfs/security/shadow.xml:573
7156 jlepiller 1038
msgid ""
1039
"A list of the installed files, along with their short descriptions can be "
7165 jlepiller 1040
"found at <phrase revision=\"sysv\"> <ulink url=\"&lfs-"
1041
"root;/chapter06/shadow.html#contents-shadow\"/></phrase> <phrase "
7334 jlepiller 1042
"revision=\"systemd\"> <ulink url=\"&lfs-"
1043
"rootd;/chapter06/shadow.html#contents-shadow\"/></phrase>."
7156 jlepiller 1044
msgstr ""
1045
"Vous pouvez trouver une liste des fichiers installés ainsi que leurs "
7175 jlepiller 1046
"descriptions courtes sur <phrase revision=\"sysv\"><ulink url=\"&lfs-"
7190 jlepiller 1047
"root;/chapter06/shadow.html#contents-shadow\"/></phrase><phrase "
7334 jlepiller 1048
"revision=\"systemd\"><ulink url=\"&lfs-"
1049
"rootd;/chapter06/shadow.html#contents-shadow\"/></phrase>."
7228 jlepiller 1050
 
8215 jlepiller 1051
#~ msgid "723ebb19b06e2f52d9ed7f0653483851"
1052
#~ msgstr "723ebb19b06e2f52d9ed7f0653483851"
1053
 
1054
#~ msgid "46 MB"
1055
#~ msgstr "46&nbsp;Mo"
1056
 
8163 jlepiller 1057
#~ msgid "f7ce18c8dfd05f1a009266cb604d58b7"
1058
#~ msgstr "f7ce18c8dfd05f1a009266cb604d58b7"
1059
 
1060
#~ msgid ""
1061
#~ "<userinput>make install &amp;&amp;\n"
1062
#~ "mv -v /usr/bin/passwd /bin</userinput>"
1063
#~ msgstr ""
1064
#~ "<userinput>make install &amp;&amp;\n"
1065
#~ "mv -v /usr/bin/passwd /bin</userinput>"
1066
 
1067
#~ msgid ""
1068
#~ "<command>mv -v /usr/bin/passwd /bin</command>: The <command>passwd</command>"
1069
#~ " program may be needed during times when the <filename "
1070
#~ "class='directory'>/usr</filename> filesystem is not mounted so it is moved "
1071
#~ "into the root partition."
1072
#~ msgstr ""
1073
#~ "<command>mv -v /usr/bin/passwd /bin</command>&nbsp;: Le programme "
1074
#~ "<command>passwd</command> peut être nécessaire aux moments où le système de "
1075
#~ "fichiers <filename class='directory'>/usr</filename> n'est pas monté pour "
1076
#~ "qu'il soit déplacé dans la partition racine."
1077
 
7989 jlepiller 1078
#~ msgid "b491fecbf1232632c32ff8f1437fd60e"
1079
#~ msgstr "b491fecbf1232632c32ff8f1437fd60e"
1080
 
7453 jlepiller 1081
#~ msgid "c350da50c2120de6bb29177699d89fe3"
1082
#~ msgstr "c350da50c2120de6bb29177699d89fe3"
1083
 
1084
#~ msgid "31 MB"
1085
#~ msgstr "31 Mo"
1086
 
7280 jlepiller 1087
#~ msgid "c06f8c2571b44899e60662f9ad259dd6"
1088
#~ msgstr "c06f8c2571b44899e60662f9ad259dd6"
1089
 
1090
#~ msgid ""
1091
#~ "<command>sed -i -e '/snprintf/s@_msg,@_msg, 256,@' src/su.c</command>: Fix a"
1092
#~ " build error that only occurs if <xref linkend=\"linux-pam\"/> is detected "
1093
#~ "by <command>configure</command>."
1094
#~ msgstr ""
1095
#~ "<command>sed -i -e '/snprintf/s@_msg,@_msg, 256,@' src/su.c</command>&nbsp;:"
7334 jlepiller 1096
#~ " Corrige une erreur de construction qui n'arrive que si <xref "
1097
#~ "linkend=\"linux-pam\"/> est détecté par <command>configure</command>."
7280 jlepiller 1098
 
1099
#~ msgid ""
1100
#~ "<command>sed -i '47 d' -e '60,65 d' libmisc/myname.c</command>: Apply a "
1101
#~ "security fix from upstream."
1102
#~ msgstr ""
1103
#~ "<command>sed -i '47 d' -e '60,65 d' libmisc/myname.c</command>&nbsp;: "
1104
#~ "Applique un correctif de sécurité amont."
1105
 
1106
#~ msgid ""
1107
#~ "<command>echo '--- ...</command>: This command illustrates another way to "
1108
#~ "apply patches. Without the patch, <command>useradd</command> does not use "
1109
#~ "the defaults in <filename>/etc/default/useradd</filename>."
1110
#~ msgstr ""
1111
#~ "<command>echo '--- ...</command>&nbsp;: Cette commande illustre une autre "
1112
#~ "façon d'appliquer des correctifs. Sans le correctif, "
1113
#~ "<command>useradd</command> n'utilise pas les valeurs par défaut dans "
1114
#~ "<filename>/etc/default/useradd</filename>."
1115
 
7228 jlepiller 1116
#~ msgid "2bfafe7d4962682d31b5eba65dba4fc8"
1117
#~ msgstr "2bfafe7d4962682d31b5eba65dba4fc8"