Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rfc] wpa_supplicant: use capabilities in the service to run as non-root #53219

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dkwo
Copy link
Contributor

@dkwo dkwo commented Nov 25, 2024

  • I tested the changes in this PR: yes, but only using the runit service. I.e., did not test other potential consumers of wpa_supplicant, like network manager or wpa_cli. Had to chown -R _wpas:_wpas /etc/wpa_supplicant. The capabilities are the ones recommended in upstream README. They recommend to set them on the executable, but it seems safer to set them in the service.

  • I built this PR locally for my native architecture, (x86_64-glib)

Added a patch to the external file function, taken from nixos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant