Open magnetophon opened 9 years ago
change the permissions of all the executables associated with connman and/or change the group of the user you're running it with to something that is able to handle network connections?
the dir is owned by root.
On Sat, Jan 17, 2015 at 7:26 PM, darlinger notifications@github.com wrote:
change the permissions of all the executables associated with connman and/or change the group of the user you're running it with to something that is able to handle network connections?
— Reply to this email directly or view it on GitHub https://github.com/march-linux/connman_dmenu/issues/3#issuecomment-70395046 .
you can't just change the group that owns it? chown -R root:adm [dir]
Both connmanctl and connman-ui-gtk are able to change WiFi networks without root on Arch Linux, so it seems that it should be possible without much trouble?
Sure it's possible, and even easy.
I was just suggesting it'd be done in the main program.
On Wed, Feb 25, 2015 at 04:56:28AM -0800, David Manouchehri wrote:
Both connmanctl and connman-ui-gtk are able to change WiFi networks without root on Arch Linux, so it seems that it should be possible without much trouble?
Reply to this email directly or view it on GitHub: https://github.com/march-linux/connman_dmenu/issues/3#issuecomment-75955066
maybe is too late for answer (all here seems dormant), but i faced and solved this trouble recently.
in /etc/dbus-1/system.d/connman-nmcompat.conf
i changed (as root):
<deny send_destination="org.freedesktop.NetworkManager"/>
to:
<allow send_destination="org.freedesktop.NetworkManager"/>
when i realized that could run connmanctl
from terminal without errors, got rid of these lines in connman_dmenu script:
if (( EUID != 0 )); then dmenu_notify 'please run it as root' exit 1 fi
Now, connman_dmenu runs without root for me.
👍
Would it be possible to make it run without root?