Ignore:
Timestamp:
05/02/2022 08:05:51 AM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
100ca4e
Parents:
b1df1d7 (diff), 7c862ea (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' into xry111/clfs-ng

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/createfiles.xml

    rb1df1d7 rdd7a29e  
    6767messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/usr/bin/false
    6868uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/usr/bin/false
    69 nobody:x:99:99:Unprivileged User:/dev/null:/usr/bin/false</literal>
     69nobody:x:65534:65534:Unprivileged User:/dev/null:/usr/bin/false</literal>
    7070EOF</userinput></screen>
    7171
     
    8484uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/usr/bin/false
    8585systemd-oom:x:81:81:systemd Out Of Memory Daemon:/:/usr/bin/false
    86 nobody:x:99:99:Unprivileged User:/dev/null:/usr/bin/false</literal>
     86nobody:x:65534:65534:Unprivileged User:/dev/null:/usr/bin/false</literal>
    8787EOF</userinput></screen>
    8888
     
    117117uuidd:x:80:
    118118wheel:x:97:
    119 nogroup:x:99:
    120 users:x:999:</literal>
     119users:x:999:
     120nogroup:x:65534:</literal>
    121121EOF</userinput></screen>
    122122
     
    154154systemd-oom:x:81:
    155155wheel:x:97:
    156 nogroup:x:99:
    157 users:x:999:</literal>
     156users:x:999:
     157nogroup:x:65534:</literal>
    158158EOF</userinput></screen>
    159159
     
    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>
     176
     177  <para>The ID 65534 is used by the kernel for NFS and separate user
     178  namespaces for unmapped users and groups (those exist on the NFS server
     179  or the parent user namespace, but <quote>do not exist</quote> on the local
     180  machine or in the separate namespace).  We assign
     181  <systemitem class="username">nobody</systemitem> and
     182  <systemitem class="groupname">nogroup</systemitem> for it to avoid an
     183  unnamed ID.  But other distros may treat this ID differently, so any
     184  portable program should not depend on this assignment.</para>
    171185
    172186  <para>Some tests in <xref linkend="chapter-building-system"/> need a regular
Note: See TracChangeset for help on using the changeset viewer.