%general-entities; ]> $LastChangedBy$ $Date$ PolicyKit-&policykit-version; PolicyKit Introduction to PolicyKit The PolicyKit package is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes. &lfs65_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &policykit-md5sum; Download size: &policykit-size; Estimated disk space required: &policykit-buildsize; Estimated build time: &policykit-time; PolicyKit Dependencies Required , , , and Optional User Notes: Installation of PolicyKit It is a requirement to have a dedicated user and group for PolicyKit to function correctly. Issue the following commands as the root user: groupadd -fg 27 polkituser && useradd -c "Policy Kit Daemon User" -d /dev/null -u 27 \ -g polkituser -s /bin/false polkituser || [ $? == 9 ] Install PolicyKit by running the following commands as an unprivileged user: ./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/PolicyKit --localstatedir=/var && make This package does not come with a test suite. Now, as the root user: make install && install -v -d -m755 /usr/share/doc/PolicyKit-&policykit-version; && cp -v -r doc/html /usr/share/doc/PolicyKit-&policykit-version; Command Explanations Configuring PolicyKit Config Files /etc/PolicyKit/PolicyKit.conf /etc/PolicyKit/PolicyKit.conf Configuration Information See manual page PolicyKit.conf(5). Contents Installed Programs Installed Libraries Installed Directories polkit-auth, polkit-policy-file-validate, polkit-config-file-validate, polkit-action, polkit-read-auth-helper, polkit-grant-helper-pam, polkit-grant-helper, polkit-revoke-helper, polkitd, polkit-explicit-grant-helper, polkit-set-default-helper, and polkit-resolve-exe-helper libpolkit.{so,a}, libpolkit-dbus.{so,a}, and libpolkit-grant.{so,a} /etc/PolicyKit, /usr/lib/PolicyKit, /usr/include/PolicyKit/polkit, /usr/include/PolicyKit/polkit-dbus, /usr/include/PolicyKit/polkit-grant, /usr/share/PolicyKit/policy, /var/lib/misc, /var/lib/PolicyKit, /var/lib/PolicyKit-public, and /usr/share/doc/PolicyKit-&policykit-version; Short Descriptions polkit-auth is used to inspect, obtain, grant and revoke PolicyKit authorizations. polkit-auth polkit-policy-file-validate is used to verify that one or more PolicyKit .policy files are valid. polkit-policy-file-validate polkit-config-file-validate is used to verify that a given PolicyKit configuration file is valid. polkit-config-file-validate polkit-action is used to list and modify the PolicyKit actions that are registered on the system. polkit-action polkit-read-auth-helper is the setgid polkituser helper for PolicyKit to read authorizations. polkit-read-auth-helper polkit-grant-helper-pam is the setuid root pam grant helper for PolicyKit. polkit-grant-helper-pam polkit-grant-helper is the setgid polkituser grant helper for PolicyKit. polkit-grant-helper polkit-revoke-helper is used to revoke authorizations. polkit-revoke-helper polkitd is the PolicyKit daemon. polkitd polkit-explicit-grant-helper is used to grant authorizations. polkit-explicit-grant-helper polkit-set-default-helper is the setgid polkituser helper for PolicyKit. polkit-set-default-helper polkit-resolve-exe-helper is used to find the executable name for a process. polkit-resolve-exe-helper libpolkit.{so,a} contains the PolicyKit API functions. libpolkit.{so,a} libpolkit-dbus.{so,a} contains functions for obtaining seat, session and caller information via D-Bus and ConsoleKit. libpolkit-dbus.{so,a} libpolkit-grant.{so,a} contains functions for obtaining authorizations through authentication. libpolkit-grant.{so,a}