[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: SystemSettings:: PolicyKit:: the bootstrap problem
From:       George Kiagiadakis <kiagiadakis.george () gmail ! com>
Date:       2009-06-06 22:24:06
Message-ID: ba4a6e220906061524t5855b9b0w6f5b295a5c07b2ff () mail ! gmail ! com
[Download RAW message or body]

2009/6/7 KSU <ksu257@earthlink.net>:
> So, KDE-4.3 uses PolicyKit to provide access to SystemSettings::Login
> Manager.  But, it appears that PolicyKit is also used to control access
> to SystemSettings:PolicyKit Authorization.  This results in a bootstrap
> problem.  Didn't anyone consider this?
>
> The question is, how do I authorize a user account (not using
> SystemSettings?) so that I can use SystemSettings::PolicyKit
> Authorization to authorize the user account to gain access to various
> things -- specifically to configure the Login Manager in this case.

Yeah, it seems a bit weird... I faced this problem a few days ago as
well. I finally solved it by adding this to my
/etc/PolicyKit/PolicyKit.conf, inside the <config> tag:

        <match action="org.freedesktop.policykit.modify-defaults">
                <return result="auth_admin"/>
        </match>

This allows me to modify settings in the systemsettings policykit
module and asks me for the root password when I modify something.
There may be better ways of doing this, I'm just telling you what
worked for me.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic