On 8/30/19 7:49 AM, Benjamin wrote:
> Do anyone have any suggestions on this? Thanks

Sudo is an option. I prefer to have a master root process that spawns workers
processes that drop privileges via setegid...seteuid... syscalls to dedicated
users for various tasks. Takes concurrency to the next level and organises your
code, but it is more work. Also allows flexibility on chrooting that requires
root (though I find OpenBSDs unveil more useful mostly but occasionally both).

If you don't want a process to be taken down by a process group fatal then fork
it separately via a startup shell script.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/8908b67e-d5d6-698b-bd54-f2c95fc2566f%40gmail.com.

Reply via email to