<tt><font size=2>> From: Charles Duffy <charles@dyfis.net></font></tt>
<br><tt><font size=2>> To: "systemd-devel@lists.freedesktop.org"
<systemd-<br>
> devel@lists.freedesktop.org></font></tt>
<br><tt><font size=2>> Date: 01/21/2016 10:12 AM</font></tt>
<br><tt><font size=2>> Subject: [systemd-devel] euid 0 not honored authenticating
control socket?</font></tt>
<br><tt><font size=2>> Sent by: "systemd-devel" <systemd-devel-bounces@lists.freedesktop.org></font></tt>
<br><tt><font size=2>> <br>
> Howdy --</font></tt>
<br><tt><font size=2>> <br>
> I have a setuid-root executable from which I'm trying to start or
<br>
> stop a service. However, when invoking systemctl from this <br>
> executable -- for which geteuid() returns 0 -- the control socket
is<br>
> rejected when the ruid does not match (such that the executable was
<br>
> invoked from a less-privileged user).</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> <snip></font></tt>
<br><tt><font size=2>> <br>
> What's going on, and why?</font></tt>
<br>
<br><tt><font size=2>Check my thread with a similar question: </font></tt><a href="http://lists.freedesktop.org/archives/systemd-devel/2015-May/032444.html"><tt><font size=2 color=blue>http://lists.freedesktop.org/archives/systemd-devel/2015-May/032444.html</font></tt></a>