]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Use descriptive name for nobody
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 27 May 2022 12:09:24 +0000 (14:09 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 27 May 2022 21:09:24 +0000 (22:09 +0100)
This matches the changes pushed to Fedora [1,2].

[1] https://fedoraproject.org/wiki/Changes/RenameNobodyUser
[2] https://pagure.io/setup/c/f6fdb5ffc87fc8f1acc211867fef4e3f0856edfc

src/nss-systemd/nss-systemd.c
sysusers.d/basic.conf.in

index e87f1d31b3401e94ab141bb5c9ffdb91a8ebe2fc..e24828450fb15c951ef6ba4fb80847c8f0c6762f 100644 (file)
@@ -46,7 +46,7 @@ static const struct passwd nobody_passwd = {
         .pw_passwd = (char*) PASSWORD_LOCKED_AND_INVALID,
         .pw_uid = UID_NOBODY,
         .pw_gid = GID_NOBODY,
-        .pw_gecos = (char*) "User Nobody",
+        .pw_gecos = (char*) "Kernel Overflow User",
         .pw_dir = (char*) "/",
         .pw_shell = (char*) NOLOGIN,
 };
index 7f1d052deb7ee48ed1e44dd1757dfdd2edcdc982..a602b872e4b1c0d7eb472dfe9c64289875f6feb1 100644 (file)
@@ -10,7 +10,7 @@ u root    0     "Super User" /root
 
 # The nobody user/group for NFS file systems
 g {{NOBODY_GROUP_NAME}} 65534       -            -
-u {{NOBODY_USER_NAME }} 65534:65534 "Nobody"     -
+u {{NOBODY_USER_NAME }} 65534:65534 "Kernel Overflow User"     -
 
 # Administrator group: can *see* more than normal users
 g adm     {{ADM_GID    }}     -            -