Re: rootless?
Roy Marples
Tue Aug 27 08:53:52 2019
dhcpcd always runs as root, as does wpa_supplicant. Both need to do stuff that requires root during normal operation.
dhcpcd-ui runs as non root. By default it can connect to dhcpcd via the unprivileged socket which is basically just listening to events so you can see, ssid connected to and the IP address it has.
The secret is to ensure the group that owns the privileged sockets is also a group that your user is in. The default group for both dhcpcd and wpa_supplicant is wheel (or root depending on distro). If you want to change the dhcpcd group, use the controlgroup directive in dhcpcd.conf.
Hope this helps.
Roy
On 27 August 2019 08:20:24 BST, johnywhy@xxxxxxxxx wrote:
>Hi
>
>I'd like to configure dhcpcd-ui or dhcpcd-ui-patched to work without
>root permissions.
>
>I found this recipe to do that:
><https://www.reddit.com/r/archlinux/comments/345mao/selecting_wifi_without_root_access/cqrtr1b/>
>
>Can someone give any guidance on how to make this work with dhcpcd and
>dhcpcd-ui
>
>Thx!
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Archive administrator: postmaster@marples.name