by otterley · 6y ago · 0 comments
Starting as root for the sole purpose of binding to a low-numbered port and then dropping privileges is an outdated practice that is both difficult to program correctly and arguably unnecessary today.
[1] https://www.archlinux.org/packages/extra/x86_64/nginx/
[2] https://github.com/archlinux/svntogit-packages/blob/packages...
A quick googling tells me that FreeBSD has something similar: https://gist.github.com/TomHetmer/b0a048d688af78e78f45609880...
PS. If I would have bothered to read the whole Stack Exchange article I linked to, that capability is even mentioned there (^_^) https://unix.stackexchange.com/a/134324/68449