mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
Minor reworing of reason for GID 999
This commit is contained in:
parent
e7f0fa1fa6
commit
da7949dfb6
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user