How to configure dbus to allow ssh-user to suspend server?
- by Produnis
I try to suspend my server using dbus and UPower. The server runs Ubuntu LucidLynx 64bit.
While everything works fine if I am sitting directly at the machine, it won't work via ssh.
If I connect to the server via ssh and try to suspend the machine using dbus and upower, it gives back
dbus.exceptions.DBusException: org.freedesktop.UPower.GeneralError: not authorized
Could anyone please tell me how to configure dbus in order to allow ssh-users to suspend the machine?