summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-27 14:09:24 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2022-05-27 23:09:24 +0200
commit94b84a0703ef50729f190b61563d7a3a423c564c (patch)
tree5ff1326692a565df9d927856fc8ab026e3124586
parentMerge pull request #23504 from keszybz/bls-reordering (diff)
downloadsystemd-94b84a0703ef50729f190b61563d7a3a423c564c.tar.xz
systemd-94b84a0703ef50729f190b61563d7a3a423c564c.zip
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
-rw-r--r--src/nss-systemd/nss-systemd.c2
-rw-r--r--sysusers.d/basic.conf.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nss-systemd/nss-systemd.c b/src/nss-systemd/nss-systemd.c
index e87f1d31b3..e24828450f 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 7f1d052deb..a602b872e4 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 }} - -