OSDN Git Service

clfs-3.0.0-sysvinit.
[clfsja/cross-lfs-ja.git] / src / final-system / common / shadow.ch
1 %
2 % This is part of CLFSja package.
3 %
4 % This is a CTIE change file for the original XML source of the CLFSbook.
5 %
6 @x
7 <?xml version="1.0" encoding="ISO-8859-1"?>
8 @y
9 <?xml version="1.0" encoding="UTF-8"?>
10 @z
11
12 @x
13     <para>The Shadow package contains programs for handling passwords in a
14     secure way.</para>
15 @y
16     <para>
17     Shadow パッケージはセキュアなパスワード管理を行うプログラムを提供します。
18     </para>
19 @z
20
21 @x
22     <title>Installation of Shadow</title>
23 @y
24     <title>&InstallationOf1;Shadow &InstallationOf2;</title>
25 @z
26
27 @x
28       <para>If you would like to enforce the use of strong passwords,
29       refer to <ulink url="&cblfs-root;index.php/Cracklib"/>
30       for installing Cracklib prior to building Shadow. After Cracklib is
31       installed, execute this <command>sed</command> in Shadow's source
32       directory to correct the path to the Cracklib dictionary:</para>
33 @y
34       <para>
35       もっと強力なパスワードを利用したい場合は <ulink
36       url="&cblfs-root;index.php/Cracklib"/> にて示している Cracklib パッケージを参照してください。
37       Cracklib パッケージは Shadow パッケージよりも前にインストールします。
38       Cracklib をインストールしたら、Shadow のソースディレクトリに入って以下の <command>sed</command> を実行してください。
39       これは Cracklib 辞書へのパスを適切にするものです。
40       </para>
41 @z
42
43 @x
44       <para>Finally, add <parameter>--with-libcrack</parameter> to the
45       <command>configure</command> command below.</para>
46 @y
47       <para>
48       そしてこの後に実行する <command>configure</command> コマンドに <parameter>--with-libcrack</parameter> を加えてください。
49       </para>
50 @z
51
52 @x
53     <para os="b">Disable the installation of the <command>groups</command> and
54     <command>nologin</command> programs and their man pages, as better versions
55     of these programs are provided by Coreutils and Util-linux:</para>
56 @y
57     <para os="b">
58     <command>groups</command> プログラムと <command>nologin</command> プログラム、それらの man ページはインストールしないようにします。
59     これはより良い版が Coreutils と Util-linux により提供されているからです。
60     </para>
61 @z
62
63 @x
64     <para os="d">Prepare Shadow for compilation:</para>
65 @y
66     <para os="d">&PreparePackage1;Shadow &PreparePackage2;</para>
67 @z
68
69 @x
70 <para os="f">The meaning of the new configure option:</para>
71 @y
72 <para os="f">&MeaningOfOption1;configure &MeaningOfOption2;</para>
73 @z
74
75 @x --sysconfdir=/etc
76       <listitem><para>Tells Shadow to install its configuration files into
77       <filename class="directory">/etc</filename>, rather than
78       <filename class="directory">/usr/etc</filename>.</para></listitem>
79 @y
80       <listitem><para>
81       Shadow の設定ファイルのインストール先を <filename
82       class="directory">/usr/etc</filename> ではなく <filename
83       class="directory">/etc</filename> とします。
84       </para></listitem>
85 @z
86
87 @x
88     <para os="h">Compile the package:</para>
89 @y
90     <para os="h">&CompileThePackage;</para>
91 @z
92
93 @x
94     <para os="j">This package does not come with a test suite.</para>
95 @y
96     <para os="j">&NotExistTestsuite;</para>
97 @z
98
99 @x
100     <para os="k">Install the package:</para>
101 @y
102     <para os="k">&InstallThePackage;</para>
103 @z
104
105 @x
106     <para os="m" id="shadow-login_defs">Instead of using the default
107     <emphasis>DES</emphasis> method, use the more secure
108     <emphasis>SHA512</emphasis> method of password encryption, which also allows
109     passwords longer than 8 characters. It is also necessary to change the
110     obsolete <filename class="directory">/var/spool/mail</filename> location
111     for user mailboxes that Shadow uses by default to the <filename
112     class="directory">/var/mail</filename> location used currently. Use the
113     following sed command to make these changes to the appropriate
114     configuration file:</para>
115 @y
116     <para os="m" id="shadow-login_defs">
117     パスワード暗号化に関して、デフォルトの <emphasis>DES</emphasis> 手法ではなく、より強力な <emphasis>SHA512</emphasis> 手法を用いることにします。
118     こうしておくと 8文字以上のパスワード入力が可能となります。
119     またメールボックスを収めるディレクトリとして Shadow ではデフォルトで <filename
120     class="directory">/var/spool/mail</filename> ディレクトリを利用していますが、これは古いものであるため <filename
121     class="directory">/var/mail</filename> ディレクトリに変更します。
122     以下の sed コマンドを実行して設定ファイルへの変更を行います。
123     </para>
124 @z
125
126 @x
127     <para os="t">Move a misplaced program to its proper location:</para>
128 @y
129     <para os="t">
130     誤ったディレクトリにあるファイルを移動します。
131     </para>
132 @z
133
134 @x
135     <title>Configuring Shadow</title>
136 @y
137     <title>&Configuring1;Shadow &Configuring2;</title>
138 @z
139
140 @x
141       <secondary>configuring</secondary>
142 @y
143       <secondary>設定</secondary>
144 @z
145
146 @x
147     <para>This package contains utilities to add, modify, and delete users and
148     groups; set and change their passwords; and perform other administrative
149     tasks. For a full explanation of what <emphasis>password shadowing</emphasis>
150     means, see the <filename>doc/HOWTO</filename> file within the unpacked source
151     tree. If using Shadow support, keep in mind that programs which need to
152     verify passwords (display managers, FTP programs, pop3 daemons, etc.) must
153     be Shadow-compliant. That is, they need to be able to work with shadowed
154     passwords.</para>
155 @y
156     <para>
157     このパッケージには、ユーザーやグループの追加、修正、削除、そのパスワードの設定、変更、その他の管理操作を行うユーティリティが含まれます。
158     <emphasis>パスワードのシャドウイング (password shadowing)</emphasis> というものが何を意味するのか、その詳細についてはこのパッケージのソース内にある <filename>doc/HOWTO</filename> を参照してください。
159     Shadow によるサポートを利用する場合、パスワード認証を必要とするプログラム (ディスプレイマネージャー、FTP プログラム、POP3、デーモン、など) は Shadow に準拠したものでなければなりません。
160     つまりそれらのプログラムが、シャドウ化された (shadowed) パスワードを受け入れて動作しなければならないということです。
161     </para>
162 @z
163
164 @x
165     <para>To enable shadowed passwords, run the following command:</para>
166 @y
167     <para>
168     Shadow によるパスワードの利用を有効にするために、以下のコマンドを実行します。
169     </para>
170 @z
171
172 @x
173     <para>To enable shadowed group passwords, run:</para>
174 @y
175     <para>
176     また Shadow によるグループパスワードを有効にするために、以下を実行します。
177     </para>
178 @z
179
180 @x
181     <para>To view or change the default settings for new user accounts that
182     you create, you can edit <filename>/etc/default/useradd</filename>. See
183     <command>man useradd</command> or
184     <ulink url="&cblfs-root;index.php/Configuring_for_Adding_Users"/> for more
185     information.</para>
186 @y
187     <para>
188     新たに生成するユーザーアカウントに対してのデフォルト設定を確認したり変更したりする場合は <filename>/etc/default/useradd</filename> ファイルを使います。
189     詳しくは <command>man useradd</command> または <ulink
190     url="&cblfs-root;index.php/Configuring_for_Adding_Users"/> を参照してください。
191     </para>
192 @z
193
194 @x
195     <title>Setting the root password</title>
196 @y
197     <title>root パスワードの設定</title>
198 @z
199
200 @x
201     <para>Choose a password for user <systemitem
202     class="username">root</systemitem> and set it by running:</para>
203 @y
204     <para>
205     以下のコマンドを実行して <systemitem
206     class="username">root</systemitem> ユーザーに対するパスワードを設定します。
207     </para>
208 @z
209
210 @x
211     <title>Contents of Shadow</title>
212 @y
213     <title>&ContentsOf1;Shadow &ContentsOf2;</title>
214 @z
215
216 @x
217       <segtitle>Installed programs</segtitle>
218       <segtitle>Installed directory</segtitle>
219 @y
220       <segtitle>&InstalledProgram;</segtitle>
221       <segtitle>&InstalledDirectory;</segtitle>
222 @z
223
224 @x
225         <seg>chage, chfn, chgpasswd, chpasswd, chsh, expiry, faillog, gpasswd,
226         groupadd, groupdel, groupmems, groupmod, grpck, grpconv, grpunconv,
227         lastlog, login, logoutd, newgrp, newusers, passwd, pwck,
228         pwconv, pwunconv, sg (link to newgrp), su, useradd, userdel, usermod,
229         vigr (link to vipw), vipw</seg>
230         <seg>/etc/default</seg>
231 @y
232         <seg>chage, chfn, chgpasswd, chpasswd, chsh, expiry, faillog, gpasswd,
233         groupadd, groupdel, groupmems, groupmod, grpck, grpconv, grpunconv,
234         lastlog, login, logoutd, newgrp, newusers, passwd, pwck,
235         pwconv, pwunconv, sg (&LinkTo1;newgrp &LinkTo2;), su, useradd, userdel, usermod,
236         vigr (&LinkTo1;vipw &LinkTo2;), vipw</seg>
237         <seg>/etc/default</seg>
238 @z
239
240 @x
241       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
242 @y
243       <bridgehead renderas="sect3">&ShortDescriptions;</bridgehead>
244 @z
245
246 @x chage
247           <para>Used to change the maximum number of days between obligatory
248           password changes</para>
249 @y
250           <para>
251           ユーザーのパスワード変更を行うべき期間を変更します。
252           </para>
253 @z
254
255 @x chfn
256           <para>Used to change a user's full name and other information</para>
257 @y
258           <para>
259           ユーザーのフルネームや他の情報を変更します。
260           </para>
261 @z
262
263 @x chgpasswd
264           <para>Used to update group passwords in batch mode</para>
265 @y
266           <para>
267           グループのパスワードをバッチモードにて更新します。
268           </para>
269 @z
270
271 @x chpasswd
272           <para>Used to update the passwords of an entire series of user
273           accounts</para>
274 @y
275           <para>
276           複数ユーザーのパスワードを更新します。
277           </para>
278 @z
279
280 @x chsh
281           <para>Used to change a user's default login shell</para>
282 @y
283           <para>
284           ユーザーのデフォルトのログインシェルを変更します。
285           </para>
286 @z
287
288 @x expiry
289           <para>Checks and enforces the current password expiration policy</para>
290 @y
291           <para>
292           現時点でのパスワード失効に関する設定をチェックし更新します。
293           </para>
294 @z
295
296 @x faillog
297           <para>Is used to examine the log of login failures, to set a maximum
298           number of failures before an account is blocked, or to reset the
299           failure count</para>
300 @y
301           <para>
302           ログイン失敗のログを調査します。
303           ログインの失敗を繰り返すことでアカウントがロックされる際の、最大の失敗回数を設定します。
304           またその失敗回数をリセットします。
305           </para>
306 @z
307
308 @x gpasswd
309           <para>Is used to add and delete members and administrators to
310           groups</para>
311 @y
312           <para>
313           グループに対してメンバーや管理者を追加、削除します。
314           </para>
315 @z
316
317 @x groupadd
318           <para>Creates a group with the given name</para>
319 @y
320           <para>
321           指定した名前でグループを生成します。
322           </para>
323 @z
324
325 @x groupdel
326           <para>Deletes the group with the given name</para>
327 @y
328           <para>
329           指定された名前のグループを削除します。
330           </para>
331 @z
332
333 @x groupmems
334           <para>Allows a user to administer his/her own group membership list
335           without the requirement of superuser privileges</para>
336 @y
337           <para>
338           スーパーユーザー権限を持たなくても、自分自身のグループのメンバーリストを管理可能とします。
339           </para>
340 @z
341
342 @x groupmod
343           <para>Is used to modify the given group's name or GID</para>
344 @y
345           <para>
346           指定されたグループの名前や GID を修正します。
347           </para>
348 @z
349
350 @x grpck
351           <para>Verifies the integrity of the group files
352           <filename>/etc/group</filename> and
353           <filename>/etc/gshadow</filename></para>
354 @y
355           <para>
356           グループファイル <filename>/etc/group</filename> と <filename>/etc/gshadow</filename> の整合性を確認します。
357           </para>
358 @z
359
360 @x grpconv
361           <para>Creates or updates the shadow group file from the normal
362           group file</para>
363 @y
364           <para>
365           通常のグループファイルから Shadow グループファイルを生成、更新します。
366           </para>
367 @z
368
369 @x grpunconv
370           <para>Updates <filename>/etc/group</filename> from
371           <filename>/etc/gshadow</filename> and then deletes the latter</para>
372 @y
373           <para>
374           <filename>/etc/gshadow</filename> ファイルを元に <filename>/etc/group</filename> ファイルを更新し <filename>/etc/gshadow</filename> ファイルを削除します。
375           </para>
376 @z
377
378 @x lastlog
379           <para>Reports the most recent login of all users or of a
380           given user</para>
381 @y
382           <para>
383           全ユーザーの中での最新ログインの情報、または指定ユーザーの最新ログインの情報を表示します。
384           </para>
385 @z
386
387 @x login
388           <para>Is used by the system to let users sign on</para>
389 @y
390           <para>
391           ユーザーのログインを行います。
392           </para>
393 @z
394
395 @x logoutd
396           <para>Is a daemon used to enforce restrictions on log-on time
397           and ports</para>
398 @y
399           <para>
400           ログオン時間とポートに対する制限を実施するためのデーモン。
401           </para>
402 @z
403
404 @x newgrp
405           <para>Is used to change the current GID during a login session</para>
406 @y
407           <para>
408           ログインセッション中に現在の GID を変更します。
409           </para>
410 @z
411
412 @x newusers
413           <para>Is used to create or update an entire series of user
414           accounts</para>
415 @y
416           <para>
417           複数ユーザーのアカウント情報を生成または更新します。
418           </para>
419 @z
420
421 @x passwd
422           <para>Is used to change the password for a user or group account</para>
423 @y
424           <para>
425           ユーザーアカウントまたはグループアカウントに対するパスワードを変更します。
426           </para>
427 @z
428
429 @x pwck
430           <para>Verifies the integrity of the password files
431           <filename>/etc/passwd</filename> and
432           <filename>/etc/shadow</filename></para>
433 @y
434           <para>
435           パスワードファイル <filename>/etc/passwd</filename> と <filename>/etc/shadow</filename> の整合性を確認します。
436           </para>
437 @z
438
439 @x pwconv
440           <para>Creates or updates the shadow password file from the normal
441           password file</para>
442 @y
443           <para>
444           通常のパスワードファイルを元に shadow パスワードファイルを生成、更新します。
445           </para>
446 @z
447
448 @x pwunconv
449           <para>Updates <filename>/etc/passwd</filename> from
450           <filename>/etc/shadow</filename> and then deletes the latter</para>
451 @y
452           <para>
453           <filename>/etc/shadow</filename> ファイルを元に <filename>/etc/passwd</filename> ファイルを更新し <filename>/etc/shadow</filename> を削除します。
454           </para>
455 @z
456
457 @x sg
458           <para>Executes a given command while the user's GID
459           is set to that of the given group</para>
460 @y
461           <para>
462           ユーザーの GID を指定されたグループにセットした上で、指定されたコマンドを実行します。
463           </para>
464 @z
465
466 @x su
467           <para>Runs a shell with substitute user and group IDs</para>
468 @y
469           <para>
470           ユーザー ID とグループ ID を変更してシェルを実行します。
471           </para>
472 @z
473
474 @x useradd
475           <para>Creates a new user with the given name, or updates the default
476           new-user information</para>
477 @y
478           <para>
479           指定した名前で新たなユーザーを生成します。
480           あるいは新規ユーザーのデフォルトの情報を更新します。
481           </para>
482 @z
483
484 @x userdel
485           <para>Deletes the given user account</para>
486 @y
487           <para>
488           指定されたユーザーアカウントを削除します。
489           </para>
490 @z
491
492 @x usermod
493           <para>Is used to modify the given user's login name, User
494           Identification (UID), shell, initial group, home directory, etc.</para>
495 @y
496           <para>
497           指定されたユーザーのログイン名、UID  (User Identification)、利用シェル、初期グループ、ホームディレクトリなどを変更します。
498           </para>
499 @z
500
501 @x vigr
502           <para>Edits the <filename>/etc/group</filename> or
503           <filename>/etc/gshadow</filename> files</para>
504 @y
505           <para>
506           <filename>/etc/group</filename> ファイルあるいは <filename>/etc/gshadow</filename> ファイルを編集します。
507           </para>
508 @z
509
510 @x vipw
511           <para>Edits the <filename>/etc/passwd</filename> or
512           <filename>/etc/shadow</filename> files</para>
513 @y
514           <para>
515           <filename>/etc/passwd</filename> ファイルあるいは <filename>/etc/shadow</filename> ファイルを編集します。
516           </para>
517 @z