Post

Replies

Boosts

Views

Activity

Reply to Local Network Permissions - launchd service running as non-root user
Hi, I have the exact same problem. Trying to launch a service through launchd with UserName in the property list in /Library/LaunchDaemons It seems nothing is working, I can't access Local Network with my service. As soon as I remove the UserName so it run as root, this is working as expected. Any news about this ? Did someone find a way to use UserName ?
Mar ’25
Reply to Local Network Permissions - launchd service running as non-root user
[quote='829664022, DTS Engineer, /thread/772178?answerId=829664022#829664022'] OK. Then I have the same question for you: What’s the intention behind configuring your daemon in this way? [/quote] Basically it would be the same intention as with any daemons/services or anything, I prefer to give the least permissions as possible to my daemon I can and not a full access, so I'm sure if anything happens it won't have access to everything in my mac. Running it as a user and not in root seems to be a better way to refine the rights given.
Mar ’25