how can non-admin users shutdown from CLI?
cjwatson at ubuntu.com
Wed Oct 14 10:40:19 BST 2009
On Tue, Sep 29, 2009 at 11:17:16PM -0400, Jordan Mantha wrote:
> iTalic is such a tool commonly used with thin client (LTSP) setups or
> as a way to remotely control standalone machines. For the later case
> it uses gdm-signal -h or gnome-session-save --shutdown-dialog to allow
> a person to remotely shutdown other machines. In the new GDM world
> order gdm-signal doesn't exist and gnome-session-save
> --shutdown-dialog just logs the user out rather than shutting down the
> machine. In Jaunty gnome-power-manager shipped gnome-power-cmd and one
> could run "gnome-power-cmd shutdown". In Karmic gnome-power-cmd no
> longer exists.
It might be worth looking at Ubiquity's code to do this.
Colin Watson [cjwatson at ubuntu.com]
More information about the ubuntu-devel