﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2680	New package: PolicyKit	channelzero	Wayne Blaszczyk	"From README:
PolicyKit is an authorization framework. It is typically used by
privileged user space daemons to control access.

Homepage:
http://www.freedesktop.org/wiki/Software/PolicyKit

Advantage: in desktop-environments like gnome unprivileged daemons/programs need access 
to privileged actions, PK makes it possible to fine tune these access policies.
Todays stable gnome 2.24.0 does already use PK, in favor of distro-specific tools.
With PK and ConsoleKit it is possible to have a desktop-system without the need to
log in as root.

Nitpick: there is a configure switch --with-os-type, distro-specific stuff

Dependencies:
 dbus, glib, dbus-glib, pam, perl, XML::Parser, intltool

Installation:
create polkit user and group:
 
{{{
 groupadd -g 20 polkituser
 useradd -c ""PolicyKit User"" -d /dev/null -u 20 -g polkituser -s /bin/false polkituser
}}}

{{{
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/PolicyKit --localstatedir=/var
make
make install
}}}

Configuration:[[BR]]
this grants user foo all access[[BR]]
 
/etc/PolicyKit/PolicyKit.conf[[BR]]
<?xml version=""1.0"" encoding=""UTF-8""?> <!-- -*- XML -*- -->

<!DOCTYPE pkconfig PUBLIC ""-//freedesktop//DTD PolicyKit Configuration 1.0//EN""
""http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"">

<!-- See the manual page PolicyKit.conf(5) for file format -->

<config version=""0.1"">
           <match user=""foo"">
             <return result=""yes""/>
           </match>

</config>

"	enhancement	closed	normal		BOOK	SVN	medium	fixed		
