diff options
author | David Zeuthen <david@fubar.dk> | 2004-09-12 09:57:59 +0000 |
---|---|---|
committer | David Zeuthen <david@fubar.dk> | 2004-09-12 09:57:59 +0000 |
commit | 2c47114f96985181ea13476ecb5299b5d4b0b2f1 (patch) | |
tree | 6a272516a1a07988dc84b22ca42dd67ba0cabd75 /hal.conf.in | |
parent | 723e3c0fb59becc77203db7fe5448f59ba091eb0 (diff) |
Fixup this file as it was broken. Reported by Kay Sievers
<kay.sievers@vrfy.org>.
Diffstat (limited to 'hal.conf.in')
-rw-r--r-- | hal.conf.in | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/hal.conf.in b/hal.conf.in index 42325741..ed121f2b 100644 --- a/hal.conf.in +++ b/hal.conf.in @@ -3,36 +3,15 @@ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <busconfig> - <!-- This configuration file specifies the required security policies for the HAL to work. --> - <!-- Only user @HAL_USER@ can own the HAL service and be an agent --> - <!-- policy user="@HAL_USER@" We require root to sniff mii registers --> + <!-- Only root or user @HAL_USER@ can own the HAL service --> <policy user="@HAL_USER@"> <allow own="org.freedesktop.Hal"/> - - <allow send_interface="org.freedesktop.Hal.AgentManager" - send_destination="org.freedesktop.Hal"/> - <allow receive_interface="org.freedesktop.Hal.AgentManager" - receive_sender="org.freedesktop.Hal"/> </policy> - - <!-- Only root can use the Linux.Hotplug interface --> <policy user="root"> - <allow send_interface="org.freedesktop.Hal.Linux.Hotplug" - send_destination="org.freedesktop.Hal"/> - <allow receive_interface="org.freedesktop.Hal.Linux.Hotplug" - receive_sender="org.freedesktop.Hal"/> - </policy> - - <!-- Any user in the @HAL_GROUP@ group can use the AgentManager interface --> - <!-- policy group="@HAL_GROUP@" Doesn't work on dbus 0.20. Works in CVS --> - <policy user="@HAL_USER@"> - <allow send_interface="org.freedesktop.Hal.AgentManager" - send_destination="org.freedesktop.Hal"/> - <allow receive_interface="org.freedesktop.Hal.AgentManager" - receive_sender="org.freedesktop.Hal"/> + <allow own="org.freedesktop.Hal"/> </policy> <!-- Allow anyone to invoke methods on the Manager and Device interfaces --> |