From 14de4552bfc176646e1365a1bf85035486ced218 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 2 May 2022 15:36:03 +0800 Subject: explain the usage of 65534 --- chapter07/createfiles.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'chapter07/createfiles.xml') diff --git a/chapter07/createfiles.xml b/chapter07/createfiles.xml index 7df2acde6..ca148f966 100644 --- a/chapter07/createfiles.xml +++ b/chapter07/createfiles.xml @@ -169,6 +169,15 @@ EOF freely by the system administrator since well-written programs do not depend on GID numbers, but rather use the group's name. + 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 do not exist on the local machine or in + the separate namespace). We assign + nobody and + nogroup 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. + Some tests in need a regular user. We add this user here and delete this account at the end of that chapter. -- cgit v1.2.3-54-g00ecf