aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/shadow.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2022-01-04 11:43:19 -0600
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2022-01-04 11:43:19 -0600
commitda7949dfb641c2d47264712add6d4090cc20a2f8 (patch)
tree607b67a14d644b0eebdb6db55060f2f11392c0c6 /chapter08/shadow.xml
parente7f0fa1fa6403e7b2c89857649e40b40f545a2dd (diff)
Minor reworing of reason for GID 999
Diffstat (limited to 'chapter08/shadow.xml')
-rw-r--r--chapter08/shadow.xml28
1 files changed, 14 insertions, 14 deletions
diff --git a/chapter08/shadow.xml b/chapter08/shadow.xml
index 2cc670ea1..ffc2a7ce9 100644
--- a/chapter08/shadow.xml
+++ b/chapter08/shadow.xml
@@ -200,20 +200,20 @@ useradd -D --gid 999</userinput></screen>
<listitem>
<para>This parameter sets the beginning of the group numbers used in
the <filename>/etc/group</filename> file. The particular value 999
- comes from the <parameter>--gid</parameter> parameter above.
- You can modify it to anything you desire. Note that
- <command>useradd</command> will never reuse a UID or GID. If the
- number identified in this parameter is used, it will use the next
- available number after this. Note also that if you don't have a
- group with an ID equal to this number on your system the first
- time you use <command>useradd</command>
- without the <parameter>-g</parameter> parameter, you'll get a message
- displayed on the terminal that says:
- <computeroutput>useradd: unknown GID 999</computeroutput>, although
- the account is correctly created. That is
- why we have earlier created the group
- <systemitem class="groupname">users</systemitem>
- with this group ID.</para>
+ comes from the <parameter>--gid</parameter> parameter above. You can
+ modify it to anything you desire.
+
+ Note that <command>useradd</command> will never reuse a UID or GID.
+ If the number identified in this parameter is used, it will use the
+ next available number. Note also that if you don't have a group with
+ an ID equal to this number on your system the first time you use
+ <command>useradd</command> without the <parameter>-g</parameter>
+ parameter, you will get a message displayed on the terminal that
+ says: <computeroutput>useradd: unknown GID 999</computeroutput>,
+ although the account is correctly created. That is why we have
+ created the group <systemitem class="groupname">users</systemitem>
+ with this group ID in <xref linkend='ch-tools-createfiles'/>.</para>
+
</listitem>
</varlistentry>
<varlistentry>