chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:50:04 +0000 (07:50 +0200)
commitd3b8f2c9f92d150872d846471d2de18bfbbda02c
treecd2e2cfba64d9afce07a5cf2d9d0bfc32da90625
parent04d22997d78fe8b0fc608f39c670388955a1466c
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