mirror of
https://github.com/gryf/wicd.git
synced 2026-03-25 05:03:34 +01:00
I suspect that this will be a user-visible change for lots of people;
basically, the default before this was to allow any user logged in
on the local machine to use wicd-client IF ConsoleKit was installed
and in use on the machine. Since we don't support use of PolicyKit
for obtaining authorizations, this wasn't really the proper default
in my opinion. This will not affect systems that are not using
ConsoleKit - they will continue to depend on group membership in
whatever is defined for %WICDGROUP% in the dbus configuration file.
44 lines
2.0 KiB
Plaintext
44 lines
2.0 KiB
Plaintext
<!-- /etc/dbus-1/system.d/wicd.conf -->
|
|
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
|
<busconfig>
|
|
|
|
<policy user="root">
|
|
<allow own="org.wicd.daemon"/>
|
|
<allow send_destination="org.wicd.daemon"/>
|
|
<allow send_interface="org.wicd.daemon"/>
|
|
<allow send_destination="org.wicd.daemon.wireless"/>
|
|
<allow send_interface="org.wicd.daemon.wireless"/>
|
|
<allow send_destination="org.wicd.daemon.wired"/>
|
|
<allow send_interface="org.wicd.daemon.wired"/>
|
|
</policy>
|
|
|
|
<policy context="default">
|
|
<deny own="org.wicd.daemon"/>
|
|
</policy>
|
|
|
|
<!-- This Unix group will have permission to use Wicd's gui -->
|
|
<policy group="%WICDGROUP%">
|
|
<allow send_interface="org.freedesktop.DBus.Introspectable"/>
|
|
<allow send_destination="org.wicd.daemon"/>
|
|
<allow send_interface="org.wicd.daemon"/>
|
|
</policy>
|
|
|
|
<!-- Uncomment the block below if you want all users logged in locally
|
|
to have permission to use wicd-client. This ignores the group
|
|
based permission model defined above for the "%WICDGROUP%" group.
|
|
Note that this only applies if you are using ConsoleKit - if you
|
|
do not have ConsoleKit installed and in use, then this block makes
|
|
no difference either way. -->
|
|
<!-- <policy at_console="true">
|
|
<allow send_destination="org.wicd.daemon"/>
|
|
<allow send_interface="org.wicd.daemon"/>
|
|
<allow send_destination="org.wicd.daemon.wireless"/>
|
|
<allow send_interface="org.wicd.daemon.wireless"/>
|
|
<allow send_destination="org.wicd.daemon.wired"/>
|
|
<allow send_interface="org.wicd.daemon.wired"/>
|
|
<allow send_interface="org.freedesktop.DBus.Introspectable"/>
|
|
</policy> -->
|
|
|
|
</busconfig>
|