Reboot without sudoer privileges?

Posted by Lincoln on Ask Ubuntu See other posts from Ask Ubuntu or by Lincoln
Published on 2010-11-30T00:33:50Z Indexed on 2011/03/08 0:18 UTC
Read the original article Hit count: 301

Filed under:
|
|
|

Hi together,

I've been trying to get my ubuntu restart without having to edit the sudoers. This has been possible before (in lucid I think) using a dbus command:

dbus-send –system –print-reply –dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart

But this gives me an error. Looks like things have changed.

In KDE (which I don't use) one has something similar (see this answer)

Could anyone show me an alternative way to make my machine reboot from a script (without adjusting rights)

© Ask Ubuntu or respective owner

Related posts about 10.10

Related posts about command-line