Post

Replies

Boosts

Views

Activity

Reply to Local Network Permissions - launchd service running as non-root user
To add on to what Valkhes says above, it's also recommend in the very document you linked under Daemon Security Considerations: Try to avoid running your daemon with elevated privileges (for example, running it as root). If your daemon must run with elevated privileges, do not trust data received from non-privileged processes. Doing so might allow a local user to escalate their privileges. The feedback assistant ticket number is 16838140 I see reference to a SessionCreate key in there for controlling the security context, is that useful in this situation? Thanks!
Mar ’25