Remix.run Logo
e12e 2 hours ago

Wait nginx ran as root?

seba_dos1 2 hours ago | parent | next [-]

It's usually launched as root and then drops its privileges for its workers. Unless... ;)

an hour ago | parent [-]
[deleted]
adamsb6 an hour ago | parent | prev | next [-]

Long ago in Linux if you wanted to listen on a privileged port (< 1024) you had to do so as root.

Apes an hour ago | parent [-]

If you're connecting to a host on a port < 1024, then you know a SysAdmin must have set it up, and it must be trustworthy. It was a simpler time.

Apes an hour ago | parent | prev [-]

If you have write access to nginx.conf, you can set "user root root;"