Cant run 'systemctl status' as a normal user
Sandro Tosi
morph at debian.org
Fri Mar 11 14:53:58 GMT 2016
Hey there!
on a Jessie system, i would like to run systemctl status as a non
privileged user, like myself, but I got:
$ systemctl status
Failed to get D-Bus connection: No such file or directory
(stracing it, it tries to access /var/run/dbus/system_bus_socket which
doesnt exist as we dont run dbus there), while running as root (or via
sudo) works just fine:
$ sudo systemctl status >/dev/null ; echo $?
0
is there a way to run 'systemctl status' as a normal user?
Thanks,
--
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi
More information about the Pkg-systemd-maintainers
mailing list