> From: Charles Duffy <char...@dyfis.net>
> To: "systemd-devel@lists.freedesktop.org" <systemd-
> de...@lists.freedesktop.org>
> Date: 01/21/2016 10:12 AM
> Subject: [systemd-devel] euid 0 not honored authenticating control 
socket?
> Sent by: "systemd-devel" <systemd-devel-boun...@lists.freedesktop.org>
> 
> Howdy --
> 
> I have a setuid-root executable from which I'm trying to start or 
> stop a service. However, when invoking systemctl from this 
> executable -- for which geteuid() returns 0 -- the control socket is
> rejected when the ruid does not match (such that the executable was 
> invoked from a less-privileged user).
> 
> <snip>
> 
> What's going on, and why?

Check my thread with a similar question: 
http://lists.freedesktop.org/archives/systemd-devel/2015-May/032444.html
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to