4 ms·
Well, even if I like go, I would not run a go program as root to listen on port 80. Can you drop the privileges from within go like apache or nginx are doing i
by fs111 15y ago
Well, even if I like go, I would not run a go program as root to listen on port 80.
Can you drop the privileges from within go like apache or nginx are doing it?
- enneff 15y agoYou sure can: http://golang.org/pkg/syscall/#Setuid http://golang.org/pkg/syscall/#Setuid