~ubuntu-branches/ubuntu/jaunty/avahi/jaunty-updates

« back to all changes in this revision

Viewing changes to avahi-daemon/avahi-dbus.conf

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-09-03 20:25:37 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20060903202537-syi99j0tijm9bldv
Tags: 0.6.13-2ubuntu1
* Merge with Debian, UVF Exception granted by Colin Watson
* debian/patches/03_foreground-console.patch:
  + Allow only foreground users access to the avahi-set-host-name utility as
    we don't use the "netdev" group anywhere. Thanks to Colin Watson for the
    hint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
    <allow own="org.freedesktop.Avahi"/>
12
12
  </policy>
13
13
 
14
 
  <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
 
14
  <!-- Allow anyone to invoke methods on Avahi server, except SetHostName -->
15
15
  <policy context="default">
16
 
    <allow send_interface="org.freedesktop.Avahi"/>
17
 
 
18
 
    <allow receive_interface="org.freedesktop.Avahi"
19
 
           receive_sender="org.freedesktop.Avahi"/>
20
 
  </policy>
21
 
 
22
 
  <limit name="max_match_rules_per_connection">512</limit>
23
 
  <limit name="max_connections_per_user">20</limit>
24
 
 
 
16
    <allow send_destination="org.freedesktop.Avahi"/>
 
17
    <allow receive_sender="org.freedesktop.Avahi"/>
 
18
 
 
19
    <deny send_interface="org.freedesktop.Avahi.Server" send_member="SetHostName"/>
 
20
  </policy>
 
21
 
 
22
  <!-- Allow everything, including access to SetHostName to users of the group "netdev" -->
 
23
  <policy group="netdev">
 
24
    <allow send_destination="org.freedesktop.Avahi"/>
 
25
    <allow receive_sender="org.freedesktop.Avahi"/>
 
26
  </policy>
25
27
</busconfig>