summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-28 22:18:16 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-28 22:18:16 +0200
commit943d25b398d5fe1b1984721d99266b813c97c886 (patch)
tree85b6235cdb12906f8c3ed1e071d601205483d6db
parentd133b188f257ac505b66a69ddf58165e8eeb73ca (diff)
dbus: allow root to set the host name unconditionally
-rw-r--r--avahi-daemon/avahi-dbus.conf.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/avahi-daemon/avahi-dbus.conf.in b/avahi-daemon/avahi-dbus.conf.in
index 9d21181..1df0cc4 100644
--- a/avahi-daemon/avahi-dbus.conf.in
+++ b/avahi-daemon/avahi-dbus.conf.in
@@ -25,4 +25,8 @@
<allow send_destination="org.freedesktop.Avahi"/>
<allow receive_sender="org.freedesktop.Avahi"/>
</policy>
+ <policy user="root">
+ <allow send_destination="org.freedesktop.Avahi"/>
+ <allow receive_sender="org.freedesktop.Avahi"/>
+ </policy>
</busconfig>