[PATCH 0/3] PolicyKit - Add Shadow authorisation database

David Zeuthen david at fubar.dk
Fri Dec 7 09:31:19 PST 2007


On Fri, 2007-12-07 at 12:27 -0500, David Zeuthen wrote:
>  2. Authentication framework: This is abstracted in the class
>     PolKitGrant defined in polkit-grant/polkit-grant.h. No other
>     part of PolicyKit even needs to care what the authentication
>     framework is (so I agree on patch 1 to remove unnecessary PAM
>     headers). So the patch for support /etc/shadow should probably
>     export a build option called --with-authentication=[pam|shadow].

Actually thinking more about it, it should be

 --with-authentication-work=[none|pam|shadow]

and the for authdb 'default' we should fail in the configure script if
'none' is selected in --with-authentication-framework. Similarly for
authdb 'dummy' we should fail in the configure script if anything but
'none' is selected in --with-authentication-framework.

     David




More information about the hal mailing list