From: Zbigniew Jędrzejewski-Szmek Date: Fri, 27 May 2022 12:09:24 +0000 (+0200) Subject: Use descriptive name for nobody X-Git-Tag: v252-rc1~918 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=94b84a0703ef50729f190b61563d7a3a423c564c;p=thirdparty%2Fsystemd.git Use descriptive name for nobody This matches the changes pushed to Fedora [1,2]. [1] https://fedoraproject.org/wiki/Changes/RenameNobodyUser [2] https://pagure.io/setup/c/f6fdb5ffc87fc8f1acc211867fef4e3f0856edfc --- diff --git a/src/nss-systemd/nss-systemd.c b/src/nss-systemd/nss-systemd.c index e87f1d31b34..e24828450fb 100644 --- a/src/nss-systemd/nss-systemd.c +++ b/src/nss-systemd/nss-systemd.c @@ -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, }; diff --git a/sysusers.d/basic.conf.in b/sysusers.d/basic.conf.in index 7f1d052deb7..a602b872e4b 100644 --- a/sysusers.d/basic.conf.in +++ b/sysusers.d/basic.conf.in @@ -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 }} - -