Skip to content

Commit

Permalink
Use descriptive name for nobody
Browse files Browse the repository at this point in the history
  • Loading branch information
keszybz authored and bluca committed May 27, 2022
1 parent e1a8917 commit 94b84a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nss-systemd/nss-systemd.c
Expand Up @@ -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,
};
Expand Down
2 changes: 1 addition & 1 deletion sysusers.d/basic.conf.in
Expand Up @@ -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 }} - -
Expand Down

0 comments on commit 94b84a0

Please sign in to comment.