From 94b84a0703ef50729f190b61563d7a3a423c564c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 27 May 2022 14:09:24 +0200 Subject: [PATCH] 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 --- src/nss-systemd/nss-systemd.c | 2 +- sysusers.d/basic.conf.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }} - - -- 2.47.3