]> git.ipfire.org Git - thirdparty/systemd.git/commit
user-util: synthesize user records for "nobody" the same way as for "root"
authorLennart Poettering <lennart@poettering.net>
Mon, 4 Dec 2017 16:07:48 +0000 (17:07 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 6 Dec 2017 12:40:50 +0000 (13:40 +0100)
commit7e61fd02b0a9b2c4455974eb795da08b39352927
tree82f802deb990981d0770e0d8c561854abd2c9c99
parent3a664727fa95e9683da33770e88aaaa1a3183cc6
user-util: synthesize user records for "nobody" the same way as for "root"

We already synthesize records for both "root" and "nobody" in
nss-systemd. Let's do the same in our own NSS wrappers that are supposed
to bypass NSS if possible. Previously this was done for "root" only, but
let's clean this up, and do the same for "nobody" too, so that we
synthesize records the same way everywhere, regardless whether in NSS or
internally.
src/basic/user-util.c
src/test/test-user-util.c