Re: Shutdown or Reboot

On 12/02/10 13:54, Christoph Pleger wrote:
> On Fri, 12 Feb 2010 11:29:06 +0000
> Ian Collier <Ian Collier comlab ox ac uk> wrote:
>> In Fedora 11, the command polkit-gnome-authorization could be used
>> to configure (via GUI) permissions for various actions.  Rebooting
>> and shutting down are among those actions.
> Now, I found some files, belonging to policykit, where I can configure
> that only certain users can shutdown or restart the computer.
> But I'd still like to know the exact command that is used when
> someone clicks on the "shutdown" or "restart" button, because I do
> not know if it's still possible to stop the computer by manually sending
> a dbus message message to org.freedesktop.consolekit.system.restart
> or similar destinations.

AFAIU that is *exactly* what choosing the item in the Gnome results in, a
message sent to a daemon (most likely over dbus).  In other words I'd argue
you've found a security hole if that is possible!


Magnus Therning                        (OpenPGP: 0xAB4DFBA4)          Jabber:|twitter: magthe

Attachment: signature.asc
Description: OpenPGP digital signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]