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
polkit-1-shadow.diff.gz
Description: application/gzip
_______________________________________________ polkit-devel mailing list polkit-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/polkit-devel