aboutsummaryrefslogtreecommitdiff
Borrowed from debian, allows users in netdev group to control wpa-supplicant
via D-Bus.

Description: Debian does not use pam_console but uses group membership
 to control access to D-Bus. Activating both options in the conf file
 makes it work on Debian and Ubuntu.
Author: Michael Biebl <biebl@debian.org>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;bug=412179
---
--- a/wpa_supplicant/dbus/dbus-wpa_supplicant.conf
+++ b/wpa_supplicant/dbus/dbus-wpa_supplicant.conf
@@ -14,6 +14,11 @@
                 <allow send_interface="fi.w1.wpa_supplicant1"/>
                 <allow receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/>
         </policy>
+        <policy group="netdev">
+                <allow send_destination="fi.w1.wpa_supplicant1"/>
+                <allow send_interface="fi.w1.wpa_supplicant1"/>
+                <allow receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/>
+        </policy>
         <policy context="default">
                 <deny own="fi.epitest.hostap.WPASupplicant"/>
                 <deny send_destination="fi.epitest.hostap.WPASupplicant"/>
ck. Change-Id: I8529d737d90105f877f1c099f4b3afa9b0ed9fa8 Leo Famulari 2023-11-22gnu: duplicity: Remove input labels and use gexps....* gnu/packages/backup.scm (duplicity)[native-inputs, propagated-inputs]: Remove labels. [arguments]: Use labels. Change-Id: I08c7d20cca5d2f96edf9da77df9a1a3a8e5c2e5b Ludovic Courtès 2023-11-22gnu: duplicity: Use ‘search-input-file’....* gnu/packages/backup.scm (duplicity)[arguments]: In ‘use-store-file-names’ phase, use ‘search-input-file’. Change-Id: I4b66a22283fc6e426377ad9f4f4c451598eb74e0 Ludovic Courtès 2023-11-22gnu: duplicity: Update to 2.1.4....* gnu/packages/backup.scm (duplicity): Update to 2.1.4. [source]: Switch to ‘git-fetch’ and change URL. [arguments]: Add ‘fix-version’ phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I0a19d19741f665ddb84da83d4bbefc959290fe42 Jonathan Pieper 2023-09-10gnu: rdiff-backup: Update to 2.2.6....* gnu/packages/backup.scm (rdiff-backup): Update to 2.2.6. Tobias Geerinckx-Rice 2023-09-10gnu: borg: Update to 1.2.6....* gnu/packages/backup.scm (borg): Update to 1.2.6. Tobias Geerinckx-Rice 2023-08-31gnu: btar: Fix build....* gnu/packages/backup.scm (btar)[arguments]: Add CFLAGS=-fcommon to make-flags. 宋文武 2023-08-13gnu: grsync: Update to 1.3.1....* gnu/packages/backup.scm (grsync): Update to 1.3.1. Tobias Geerinckx-Rice