[Sugar-devel] [PATCH] use ConsoleKit instead of HAL for shutdown/reboot

James Cameron quozl at laptop.org
Tue Apr 20 20:43:26 EDT 2010


On Tue, Apr 20, 2010 at 08:37:54PM -0400, Paul Fox wrote:
> so, can someone tell me (gently) why either of these techniques
> is better than simply invoking /bin/reboot or /bin/shutdown? 
> (other than the fact that those will work even if hal isn't
> running?)

Lets Sugar hop the privilege barrier in a controlled fashion.  We could
work around that entirely by blessing /bin/reboot or /bin/shutdown with
setuid.  ;-}

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list