Currently, CanRestart and CanStop interfaces both return TRUE for systems without PolicyKit (Solaris). This is a critical security problem and should be fixed.
Created attachment 31058 [details] [review] patch to fix the problem
Can someone take a look at this patch?
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.