#2680 closed enhancement (fixed)
New package: PolicyKit
Reported by: | channelzero | Owned by: | Wayne Blaszczyk |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
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:
this grants user foo all access
/etc/PolicyKit/PolicyKit.conf
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-freedesktopDTD PolicyKit Configuration 1.0EN" "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>
Change History (4)
comment:1 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 16 years ago
Milestone: | future → 6.5 |
---|
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed package PolicyKit-0.9.