Access to the system dbus is controlled by dbus policies. You will need to
write a policy for giving this user access to the systemd1 object.
On May 28, 2015 2:28 PM, <[email protected]> wrote:

> I'm working on an embedded system, and I ran into a situation where a
> non-root user needs to runs systemctl, but when I try I get:
>
> ~ $ systemctl status
> Failed to get D-Bus connection: No such file or directory
>
> So, I try with the suid bit on systemctl set, but then I get:
>
> ~ $ systemctl status
> Failed to read server status: Operation not permitted
>
> My question is, is something broken, or is this expected behavior?
>
> _______________________________________________
> systemd-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
>
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to