diff --git a/polkit.be0 b/polkit.be0 index 9a7ac18d8..d7997012e 100755 --- a/polkit.be0 +++ b/polkit.be0 @@ -70,6 +70,22 @@ mee_configure() { mee_install_post() { rm -v ${D}/etc/polkit-1/rules.d/50-default.rules + + # If you have built Polkit with Linux PAM support, you need to modify the + # default PAM configuration file which was installed by default to get + # Polkit to work correctly with BLFS. Issue the following commands as the + # root user to create the configuration file for Linux PAM: + + start_cmd cat > /etc/pam.d/polkit-1 << "EOF" + # Begin /etc/pam.d/polkit-1 + + auth include system-auth + account include system-account + password include system-password + session include system-session + + # End /etc/pam.d/polkit-1 + EOF } ###############################################################################