startupitem runas specific user

Joshua Root jmr at macports.org
Mon May 14 16:22:06 UTC 2018


On 2018-5-15 01:02 , macports at parvis.nl wrote:
> I need to create a startupitem  for a daemon that runs under user munin.
> Is there a standard way to do this?

I assume the daemon has no setting to drop privileges itself? Short of
using a custom plist, you could use a wrapper script that does 'exec
sudo -u munin ...' as the executable.

- Josh


More information about the macports-dev mailing list