Bug 16510 - Create option allow_remote
Summary: Create option allow_remote
Status: RESOLVED WORKSFORME
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: libpolkit (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-24 20:16 UTC by Marcelo Shima
Modified: 2010-08-12 18:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Marcelo Shima 2008-06-24 20:16:26 UTC
There is no way to grant an action to an user if the running session is defined with is-local=false on ConsoleKit. I am integrating FreeNX with ConsoleKit/PolicyKit and would be nice to allow actions on a local console and deny on a remote console, and allow to do it on a remote console if configured to do so.
Comment 1 David Zeuthen (not reading bugmail) 2009-10-21 10:36:34 UTC
This bug report is for the old version of PolicyKit. Closing as all of the code has been rewritten. Please reopen if the bug report applies to the latest version of PolicyKit. Thanks.
Comment 2 healthy 2010-08-12 08:58:39 UTC
There is no way to grant an action to an user if the running session is defined
with is-local=false on ConsoleKit. I use ubuntu 10.04 amd64.I am integrating vnc with
ConsoleKit/PolicyKit and would be nice to allow actions on a local console and
deny on a remote console, and allow to do it on a remote console if configured
to do so.
Comment 3 David Zeuthen (not reading bugmail) 2010-08-12 09:17:49 UTC
(In reply to comment #2)
> There is no way to grant an action to an user if the running session is defined
> with is-local=false on ConsoleKit. I use ubuntu 10.04 amd64.I am integrating
> vnc with
> ConsoleKit/PolicyKit and would be nice to allow actions on a local console and
> deny on a remote console, and allow to do it on a remote console if configured
> to do so.

Yes there is a way to do this. It's called <allow_any>.
Comment 4 healthy 2010-08-12 18:56:58 UTC
Thank you verymuch!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.