Bug 24992

Summary: Implement CanRestart and CanStop interfaces on Solaris.
Product: ConsoleKit Reporter: Jedy Wang <jedy.wang>
Component: DaemonAssignee: william.jon.mccann
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: high CC: brian.cameron, halton.huo
Version: unspecified   
Hardware: All   
OS: Solaris   
Whiteboard:
i915 platform: i915 features:
Attachments: patch to fix the problem

Description Jedy Wang 2009-11-09 00:46:58 UTC
Currently,  CanRestart and CanStop interfaces both return TRUE for systems without PolicyKit (Solaris). This is a critical security problem and should be fixed.
Comment 1 Jedy Wang 2009-11-09 01:39:02 UTC
Created attachment 31058 [details] [review]
patch to fix the problem
Comment 2 Jedy Wang 2009-11-09 21:21:03 UTC
Can someone take a look at this patch?
Comment 3 Halton Huo 2009-11-09 22:39:40 UTC
This patch looks good to me. Since it only affect Solaris (Only Solaris uses RBAC), so I'd like to commit this patch to master 48b4b2d1174db98ee87ea4e71f4a21221043ca3f. 

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.