2012-08-29 15:20:09 +08:00
|
|
|
<!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 CDEMUD_Daemon service on bus -->
|
|
|
|
<policy user="root">
|
|
|
|
<allow own="net.sf.cdemu.CDEMUD_Daemon"/>
|
|
|
|
</policy>
|
|
|
|
<policy group="root">
|
|
|
|
<allow own="net.sf.cdemu.CDEMUD_Daemon"/>
|
|
|
|
</policy>
|
|
|
|
|
|
|
|
<!-- Allow users at the console to invoke methods on the interface -->
|
|
|
|
<policy at_console="true">
|
|
|
|
<allow send_destination="net.sf.cdemu.CDEMUD_Daemon"/>
|
|
|
|
</policy>
|
|
|
|
|
|
|
|
<!-- Allow users in the 'cdemu' group to invoke methods on the interface -->
|
|
|
|
<policy group="cdemu">
|
|
|
|
<allow send_destination="net.sf.cdemu.CDEMUD_Daemon"/>
|
|
|
|
</policy>
|
|
|
|
</busconfig>
|
2012-09-09 07:24:13 +08:00
|
|
|
|