dbus: ensure only root can change debug levels
authorDan Williams <dcbw@redhat.com>
Tue, 4 May 2010 19:07:57 +0000 (12:07 -0700)
committerDan Williams <dcbw@redhat.com>
Tue, 4 May 2010 19:07:57 +0000 (12:07 -0700)
src/NetworkManager.conf

index 87814be..8d08314 100644 (file)
 
                 <allow send_destination="org.freedesktop.NetworkManager"
                        send_interface="org.freedesktop.NetworkManager.VPN.Connection"/>
+
+                <deny send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager"
+                       send_member="SetLogging"/>
         </policy>
         <policy context="default">
                 <deny own="org.freedesktop.NetworkManager"/>
                 <deny send_destination="org.freedesktop.NetworkManager"/>
                 <allow send_destination="org.freedesktop.NetworkManagerSystemSettings"/>
 
+                <deny send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager"
+                       send_member="SetLogging"/>
+
                 <!-- The org.freedesktop.NetworkManagerSettings.Connection.Secrets
                      interface is secured via PolicyKit.
                   -->