explain the usage of 65534

This commit is contained in:
Xi Ruoyao 2022-05-02 15:36:03 +08:00
parent d77e98c7e8
commit 14de4552bf
No known key found for this signature in database
GPG Key ID: D95E4716CCBB34DC

View File

@ -169,6 +169,15 @@ EOF</userinput></screen>
freely by the system administrator since well-written programs do not depend freely by the system administrator since well-written programs do not depend
on GID numbers, but rather use the group's name.</para> 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 (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
chapter.</para> chapter.</para>