summaryrefslogtreecommitdiff
path: root/community/cdemu-daemon/cdemu-daemon-dbus.conf
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-05 00:38:32 -0800
committerroot <root@rshg054.dnsready.net>2013-01-05 00:38:32 -0800
commit2586a8c75ef351dbd1b31605644e101e92d2c280 (patch)
tree75b5ec37752d80f987f98ad0f10789ce6139d8cd /community/cdemu-daemon/cdemu-daemon-dbus.conf
parent782a0d2109c292b60e7de038df66525a81b21429 (diff)
Sat Jan 5 00:38:32 PST 2013
Diffstat (limited to 'community/cdemu-daemon/cdemu-daemon-dbus.conf')
-rw-r--r--community/cdemu-daemon/cdemu-daemon-dbus.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/cdemu-daemon/cdemu-daemon-dbus.conf b/community/cdemu-daemon/cdemu-daemon-dbus.conf
new file mode 100644
index 000000000..ed14c6e39
--- /dev/null
+++ b/community/cdemu-daemon/cdemu-daemon-dbus.conf
@@ -0,0 +1,24 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+
+<busconfig>
+ <!-- Only root can own the CDEmuDaemon service on bus -->
+ <policy user="root">
+ <allow own="net.sf.cdemu.CDEmuDaemon"/>
+ </policy>
+ <policy group="root">
+ <allow own="net.sf.cdemu.CDEmuDaemon"/>
+ </policy>
+
+ <!-- Allow users at the console to invoke methods on the interface -->
+ <policy at_console="true">
+ <allow send_destination="net.sf.cdemu.CDEmuDaemon"/>
+ </policy>
+
+ <!-- Allow users in the 'cdemu' group to invoke methods on the interface -->
+ <policy group="cdemu">
+ <allow send_destination="net.sf.cdemu.CDEmuDaemon"/>
+ </policy>
+</busconfig>
+