Polkit-1 Shadow Patch

Andrew Psaltis ampsaltis at gmail.com
Fri Mar 19 15:22:13 PDT 2010


Hi again.

After looking at the previous patch a little bit, it seems that there 
were some bugs in handling authorization errors, but did not have time 
to correct them until recently.  This (new) patch should correct them. 
The caveats/comments in the previous message still apply.

~Andrew

On 2010-01-15 21:50, Andrew Psaltis wrote:
> Hello.
>
> Attached is a patch that allows the use of polkit-1 without PAM. It is
> based on suggestions that David provided to Robby Workman (pretty much
> fooling the authenticator into thinking the helper is using PAM). Robby
> and I tested the patch on modified Slackware installations, and it seems
> to work correctly.
>
> While this allows for polkit-1 to be used without PAM, running "startx"
> from console logins will not "poke" ConsoleKit as it should. I had to
> log in with gdm to be able to get ConsoleKit to be happy.
>
> The only thing I was not sure of was how to handle the applications of
> per-user limits using just shadow in pkexec. I can do more research on
> this if need be (and if so, pointers would be appreciated).
>
> ~Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: polkit-1-shadow.diff.gz
Type: application/gzip
Size: 5530 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/polkit-devel/attachments/20100319/cde25a92/attachment.bin>


More information about the polkit-devel mailing list