Dear Kevin,
is there some code available to dig into that? I plan to do something
similar that a regular user process starts up a kind of a root broker which
starts several other processes as different users. Especially for the
communication part I don’t have a good and secure idea so far.
thanks - Chris

Kevin Chadwick <m8il1i...@gmail.com> schrieb am Fr. 30. Aug. 2019 um 13:13:

> 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
> .
>

-- 
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/CALWqRZr%3Da0APK%2Bv6CQ9S9ptXrT2ok0OssNH4Kj3kmwtbmED%2BrA%40mail.gmail.com.

Reply via email to