[systemd-devel] logind, su - sessions and initscripts compatibility
h.reindl at thelounge.net
Thu Dec 18 06:23:12 PST 2014
Am 18.12.2014 um 15:10 schrieb Dale R. Worley:
> Simon McVittie <simon.mcvittie at collabora.co.uk> writes:
>> On 18/12/14 08:05, Andrei Borzenkov wrote:
>>> Any initscript that is using "su -" would [cause badness]
>> Don't do that then? Init scripts are fairly clearly not login sessions.
>> Which init scripts do that?
> More to the point, why would an initscript do that, since it's *already*
> running as root?
because "su" means "switch user" and is not limited to root
"ExecStartPre" can exist more then once and be invoked as different
users to prepare start of a complex service instead multiple units
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: OpenPGP digital signature
More information about the systemd-devel