]> git.ipfire.org Git - thirdparty/systemd.git/commit
nss-systemd,user-util: add a way how synthesizing "nobody" can be turned off
authorLennart Poettering <lennart@poettering.net>
Wed, 10 Jan 2018 17:26:03 +0000 (18:26 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 10 Jan 2018 17:26:03 +0000 (18:26 +0100)
commit24eccc3414a29a14b319d639531bd23c158b20e1
treea20f3581507d77d7a4bec01f1377ea724861365d
parentf1ff734fad70852e59a1a5245e0b7a75672d077e
nss-systemd,user-util: add a way how synthesizing "nobody" can be turned off

This is quite ugly, but provides us with an avenue for moving
distributions to define the "nobody" user properly without breaking legacy
systems that us the name for other stuff.

The idea is basically, that the distribution adopts the new definition
of "nobody" (and thus recompiles systemd with it) and then touches
/etc/systemd/dont-synthesize-nobody on legacy systems to turn off
possibly conflicting synthesizing of the nobody name by systemd.
src/basic/user-util.c
src/basic/user-util.h
src/nss-systemd/nss-systemd.c