Ignore:
Timestamp:
01/04/2022 05:43:19 PM (2 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
b029aa8
Parents:
e7f0fa1
Message:

Minor reworing of reason for GID 999

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/shadow.xml

    re7f0fa1 rda7949d  
    201201          <para>This parameter sets the beginning of the group numbers used in
    202202          the <filename>/etc/group</filename> file. The particular value 999
    203           comes from the <parameter>--gid</parameter> parameter above.
    204           You can modify it to anything you desire. Note that
    205           <command>useradd</command> will never reuse a UID or GID. If the
    206           number identified in this parameter is used, it will use the next
    207           available number after this. Note also that if you don't have a
    208           group with an ID equal to this number on your system the first
    209           time you use <command>useradd</command>
    210           without the <parameter>-g</parameter> parameter, you'll get a message
    211           displayed on the terminal that says:
    212           <computeroutput>useradd: unknown GID 999</computeroutput>, although
    213           the account is correctly created. That is
    214           why we have earlier created the group
    215           <systemitem class="groupname">users</systemitem>
    216           with this group ID.</para>
     203          comes from the <parameter>--gid</parameter> parameter above.  You can
     204          modify it to anything you desire.
     205
     206          Note that <command>useradd</command> will never reuse a UID or GID.
     207          If the number identified in this parameter is used, it will use the
     208          next available number. Note also that if you don't have a group with
     209          an ID equal to this number on your system the first time you use
     210          <command>useradd</command> without the <parameter>-g</parameter>
     211          parameter, you will get a message displayed on the terminal that
     212          says: <computeroutput>useradd: unknown GID 999</computeroutput>,
     213          although the account is correctly created. That is why we have
     214          created the group <systemitem class="groupname">users</systemitem>
     215          with this group ID in <xref linkend='ch-tools-createfiles'/>.</para>
     216       
    217217        </listitem>
    218218      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.