[GH-ISSUE #1551] Running without root on macOS #2502

Open
opened 2026-08-05 00:47:30 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @sandstrom on GitHub (Feb 8, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1551

The current install flow requires sudo:

sudo netbird service install
sudo netbird service

Ideally we should be able to run netbird without root.

Some inspiration and potentially relevant links:

Also, Docker Desktop has some examples on how to tackle the problem of running in user land (https://docs.docker.com/desktop/mac/permission-requirements/). The have a thin privileged agent, but the rest is user-space.

Originally created by @sandstrom on GitHub (Feb 8, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1551 The current install flow requires sudo: ```sh sudo netbird service install sudo netbird service ``` Ideally we should be able to run netbird without root. Some inspiration and potentially relevant links: - https://news.ycombinator.com/item?id=33700136 - https://github.com/sandialabs/wiretap Also, Docker Desktop has some examples on how to tackle the problem of running in user land (https://docs.docker.com/desktop/mac/permission-requirements/). The have a thin privileged agent, but the rest is user-space.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#2502