Ignore:
Timestamp:
05/02/2022 08:02:10 AM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
c48cc91, dd7a29e, f164a24
Parents:
0414633
Message:

GID 5 (for tty) is also special

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/createfiles.xml

    r0414633 r7c862ea  
    166166  besides the group <systemitem class="groupname">root</systemitem> with a
    167167  Group ID (GID) of 0, a group <systemitem class="groupname">bin</systemitem>
    168   with a GID of 1 be present. All other group names and GIDs can be chosen
    169   freely by the system administrator since well-written programs do not depend
    170   on GID numbers, but rather use the group's name.</para>
     168  with a GID of 1 be present. The GID of 5 is widely used for
     169  <systemitem class="groupname">tty</systemitem> group, and the number 5 is
     170  also used in <phrase revision="systemd">systemd</phrase>
     171  <phrase revision="sysv"><filename>/etc/fstab</filename></phrase> for the
     172  <systemitem class="filesystem">devpts</systemitem> filesystem.
     173  All other group names and GIDs can be chosen freely by the system
     174  administrator since well-written programs do not depend on GID numbers,
     175  but rather use the group's name.</para>
    171176
    172177  <para>The ID 65534 is used by the kernel for NFS and separate user
Note: See TracChangeset for help on using the changeset viewer.