mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-08-04 18:45:08 +01:00
Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk
This commit is contained in:
commit
f164a246c2
@ -116,8 +116,8 @@ mail:x:34:
|
|||||||
kvm:x:61:
|
kvm:x:61:
|
||||||
uuidd:x:80:
|
uuidd:x:80:
|
||||||
wheel:x:97:
|
wheel:x:97:
|
||||||
nogroup:x:65534:
|
users:x:999:
|
||||||
users:x:999:</literal>
|
nogroup:x:65534:</literal>
|
||||||
EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
|
||||||
<screen revision="systemd"><userinput>cat > /etc/group << "EOF"
|
<screen revision="systemd"><userinput>cat > /etc/group << "EOF"
|
||||||
@ -153,8 +153,8 @@ systemd-coredump:x:79:
|
|||||||
uuidd:x:80:
|
uuidd:x:80:
|
||||||
systemd-oom:x:81:
|
systemd-oom:x:81:
|
||||||
wheel:x:97:
|
wheel:x:97:
|
||||||
nogroup:x:65534:
|
users:x:999:
|
||||||
users:x:999:</literal>
|
nogroup:x:65534:</literal>
|
||||||
EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
|
||||||
<para>The created groups are not part of any standard—they are groups
|
<para>The created groups are not part of any standard—they are groups
|
||||||
@ -165,9 +165,23 @@ EOF</userinput></screen>
|
|||||||
url="http://refspecs.linuxfoundation.org/lsb.shtml"/>) only recommends that,
|
url="http://refspecs.linuxfoundation.org/lsb.shtml"/>) only recommends that,
|
||||||
besides the group <systemitem class="groupname">root</systemitem> with a
|
besides the group <systemitem class="groupname">root</systemitem> with a
|
||||||
Group ID (GID) of 0, a group <systemitem class="groupname">bin</systemitem>
|
Group ID (GID) of 0, a group <systemitem class="groupname">bin</systemitem>
|
||||||
with a GID of 1 be present. All other group names and GIDs can be chosen
|
with a GID of 1 be present. The GID of 5 is widely used for
|
||||||
freely by the system administrator since well-written programs do not depend
|
<systemitem class="groupname">tty</systemitem> group, and the number 5 is
|
||||||
on GID numbers, but rather use the group's name.</para>
|
also used in <phrase revision="systemd">systemd</phrase>
|
||||||
|
<phrase revision="sysv"><filename>/etc/fstab</filename></phrase> for the
|
||||||
|
<systemitem class="filesystem">devpts</systemitem> filesystem.
|
||||||
|
All other group names and GIDs can be chosen freely by the system
|
||||||
|
administrator since well-written programs do not depend on GID numbers,
|
||||||
|
but rather use the group's name.</para>
|
||||||
|
|
||||||
|
<para>The ID 65534 is used by the kernel for NFS and separate user
|
||||||
|
namespaces for unmapped users and groups (those exist on the NFS server
|
||||||
|
or the parent user namespace, but <quote>do not exist</quote> on the local
|
||||||
|
machine or in the separate namespace). We assign
|
||||||
|
<systemitem class="username">nobody</systemitem> and
|
||||||
|
<systemitem class="groupname">nogroup</systemitem> for it to avoid an
|
||||||
|
unnamed ID. But other distros may treat this ID differently, so any
|
||||||
|
portable program should not depend on this assignment.</para>
|
||||||
|
|
||||||
<para>Some tests in <xref linkend="chapter-building-system"/> need a regular
|
<para>Some tests in <xref linkend="chapter-building-system"/> need a regular
|
||||||
user. We add this user here and delete this account at the end of that
|
user. We add this user here and delete this account at the end of that
|
||||||
|
Loading…
Reference in New Issue
Block a user