[systemd-devel] euid 0 not honored authenticating control socket?

Aaron_Wright at selinc.com Aaron_Wright at selinc.com
Thu Jan 21 10:20:20 PST 2016


> From: Charles Duffy <charles at dyfis.net>
> To: "systemd-devel at lists.freedesktop.org" <systemd-
> devel at 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-bounces at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20160121/50f7fd5b/attachment.html>


More information about the systemd-devel mailing list