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

Re: Late authentication



On 2015-01-06, August Karlstrom <fusionfile@gmail.com> wrote:
> On 2015-01-06 17:40, Liam O'Toole wrote:
>> On 2015-01-05, August Karlstrom <fusionfile@gmail.com> wrote:
>>> I tried adding the file
>>> /var/lib/polkit-1/localauthority/50-local.d/test.pkla with the content
>>> below (and restarting X) but it made no difference; update-manager still
>>> asks for root password when launched.
>>>
>>> $ sudo cat /var/lib/polkit-1/localauthority/50-local.d/test.pkla
>>> [test]
>>> Identity=unix-group:sudo
>>> Action=org.debian.apt.update-cache
>>> ResultActive=yes
>>
>> Some things to check:
>>
>> - Are the file name "test.pkla" and the group name "test" unique?
>
> I think so. At least there are no other (.pkla) files in 
> /var/lib/polkit-1/localauthority/*
>
>> - Does the unix group "sudo" exist, and are you a member thereof?
>
> Yes.
>
>> - Has the action "org.debian.apt.update-cache" been defined? (Look under
>>    /usr/share/polkit-1/actions/.)
>
> Yes, it's defined in /usr/share/polkit-1/actions/org.debian.apt.policy.
>
>> - Is dbus-daemon running during your Blackbox session?
>
> Yes, my Blackbox session is started from ~/.xinitrc with the command
>
> 	exec ck-launch-session dbus-launch blackbox
>
>
> -- August
>
>

Try the pkcheck command. I've never needed to use it, but it looks like
it might be helpful in your case. Good luck.

-- 

Liam



Reply to: