2 % This is part of CLFSja package.
4 % This is a CTIE change file for the original XML source of the CLFSbook.
7 <?xml version="1.0" encoding="ISO-8859-1"?>
9 <?xml version="1.0" encoding="UTF-8"?>
13 <title>Creating the passwd and group Files</title>
15 <title>passwd, group 各ファイルの生成</title>
19 <primary sortas="e-/etc/passwd">/etc/passwd</primary>
20 <secondary>boot</secondary>
22 <primary sortas="e-/etc/passwd">/etc/passwd</primary>
23 <secondary>ブート</secondary>
27 <primary sortas="e-/etc/group">/etc/group</primary>
28 <secondary>boot</secondary>
30 <primary sortas="e-/etc/group">/etc/group</primary>
31 <secondary>ブート</secondary>
35 <para os="a">In order for user <systemitem class="username">root</systemitem> to
36 be able to login and for the name <quote>root</quote> to be recognized,
37 there must be relevant entries in the <filename>/etc/passwd</filename>
38 and <filename>/etc/group</filename> files.</para>
41 <systemitem class="username">root</systemitem> ユーザーが<quote>root</quote>として認識されログインできるようにするために
42 <filename>/etc/passwd</filename> ファイルと <filename>/etc/group</filename> ファイルに関連する項目を追加する必要があります。
47 <para>Create the <filename>${CLFS}/etc/passwd</filename> file by running
48 the following command:</para>
51 以下のコマンドを実行して <filename>${CLFS}/etc/passwd</filename> ファイルを生成します。
56 <para os="b">The actual password for <systemitem class="username">root</systemitem>
57 (the <quote>::</quote> used here is just a placeholder and allows you to login
58 with no password) will be set later.</para>
61 <systemitem class="username">root</systemitem> ユーザーに対する本当のパスワードは後に定めます。
62 (<quote>::</quote>は単に場所を設けるために設定しているものです。)
67 <title>Additional users you may want to add if not already included:</title>
69 <title>上記以外で追加するユーザー候補</title>
73 <para>Was used for programs that performed administrative tasks.</para>
76 管理タスクを実行するプログラムが利用します。
81 <para>Used by programs for printing</para>
89 <para>Often used by email programs</para>
92 email プログラムが利用することがあります。
97 <para>Often used for network news servers</para>
100 ネットワークニュースサーバーが利用することがあります。
105 <para>Often used to allow system operators to access the system</para>
108 システムオペレーターがシステムにアクセスすることを許可するために利用されます。
113 <para>Generally used as an account that receives all the information of troubles with the mail server</para>
116 一般にメールサーバーにおいて発生する障害情報を受信するアカウントとして利用されます。
121 <para>Create the <filename>${CLFS}/etc/group</filename> file by running
122 the following command:</para>
125 以下のコマンドを実行して <filename>${CLFS}/etc/group</filename> ファイルを生成します。
130 <title>Additional groups you may want to add if not already included:</title>
138 <para>This group has direct access to the console</para>
141 コンソールに直接アクセスするグループです。
146 <para>This group is allowed to use the CDRW drive</para>
149 CDRW ドライブの利用を許可するグループです。
154 <para>Used by Network News Servers</para>
157 ネットワークニュースサーバーが利用します。
162 <para>The default GID used by shadow for new users</para>
165 shadow が利用する新ユーザーに割り当てられるデフォルトのGIDです。
170 <para>This is used by NFS</para>
178 <para os="e">The created groups are not part of any standard—they are
179 groups decided on in part by the requirements of the Systemd configuration
180 in the final system, and in part by common convention employed by a
181 number of existing Linux distributions. The Linux Standard Base (LSB,
183 <ulink url="http://www.linuxfoundation.org/collaborate/workgroups/lsb"/>)
184 recommends only that, besides the group <quote>root</quote> with a Group ID
185 (GID) of 0, a group <quote>bin</quote> with a GID of 1 be present. All other
186 group names and GIDs can be chosen freely by the system administrator since
187 well-written programs do not depend on GID numbers, but rather use the
191 作成するグループは何かの標準に基づいたものではありません。
192 一部は本章の Systemd の設定に必要となるものですし、一部は既存の Linux ディストリビューションが採用している慣用的なものです。
193 Linux Standard Base (<ulink url="http://www.linuxfoundation.org/collaborate/workgroups/lsb"/> 参照) では
194 <quote>root</quote> グループのグループID (GID) は 0、
195 <quote>bin</quote> グループの GID は 1 を定めているにすぎません。
196 他のグループとその GID はシステム管理者が自由に取り決めることができます。
197 というのも通常のプログラムであれば GID の値に依存することはなく、あくまでグループ名を用いてプログラミングされているからです。