mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-13 12:21:15 +00:00
Imported using git-ubuntu import. Changelog parent: 583d34e58470cbef50f7734cd5f8f3065c353f88 New changelog entries: * make sure the NM configuration mangling of touch images uses the sudo and not the admin group, "admin" is dead since years ... (LP: #1217596) * drop a few superfluous env vars on request of Ted Gould
7 lines
439 B
Bash
Executable File
7 lines
439 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Adding admin group policy to NM system service"
|
|
|
|
sed -i 's/<policy user="root">/<policy group="sudo">\n\t\t\t\t<allow send_destination="org.freedesktop.NetworkManager"\/>\n\t\t\t\t<allow send_interface="org.freedesktop.NetworkManager"\/>\n\t\t\t\t<allow send_interface="org.freedesktop.NetworkManager.SecretAgent"\/>\n\t\t<\/policy>\n\t\t<policy user="root">/g' /etc/dbus-1/system.d/org.freedesktop.NetworkManager.conf
|
|
|