diff options
author | marcus <marcus@FreeBSD.org> | 2008-03-30 00:08:58 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2008-03-30 00:08:58 +0800 |
commit | 1e386c3225332851ac92e5c2a9359caaedabf178 (patch) | |
tree | dda0660c2726b723923c0544d98d65114f38ffaf /sysutils/policykit | |
parent | 14b7fe01a526caebb591888e9f5854469be08558 (diff) | |
download | freebsd-ports-gnome-1e386c3225332851ac92e5c2a9359caaedabf178.tar.gz freebsd-ports-gnome-1e386c3225332851ac92e5c2a9359caaedabf178.tar.zst freebsd-ports-gnome-1e386c3225332851ac92e5c2a9359caaedabf178.zip |
Add a default policy which allows root full control, and those in the wheel
group to authenticate for services using their password.
Discussed with: FreeBSD GNOME team
Diffstat (limited to 'sysutils/policykit')
-rw-r--r-- | sysutils/policykit/Makefile | 2 | ||||
-rw-r--r-- | sysutils/policykit/files/patch-data_PolicyKit.conf.in | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/policykit/Makefile b/sysutils/policykit/Makefile index c89bd1d48633..29e65832017a 100644 --- a/sysutils/policykit/Makefile +++ b/sysutils/policykit/Makefile @@ -8,7 +8,7 @@ PORTNAME= policykit PORTVERSION= 0.7 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils gnome MASTER_SITES= http://hal.freedesktop.org/releases/ DISTNAME= PolicyKit-${PORTVERSION} diff --git a/sysutils/policykit/files/patch-data_PolicyKit.conf.in b/sysutils/policykit/files/patch-data_PolicyKit.conf.in new file mode 100644 index 000000000000..8f0410475d80 --- /dev/null +++ b/sysutils/policykit/files/patch-data_PolicyKit.conf.in @@ -0,0 +1,11 @@ +--- data/PolicyKit.conf.in.orig 2008-03-29 12:05:27.000000000 -0400 ++++ data/PolicyKit.conf.in 2008-03-29 12:06:48.000000000 -0400 +@@ -6,4 +6,8 @@ + <!-- See the manual page PolicyKit.conf(5) for file format --> + + <config version="0.1"> ++ <match user="root"> ++ <return result="yes"/> ++ </match> ++ <define_admin_auth group="wheel"/> + </config> |