logoalt Hacker News

e12eyesterday at 4:50 PM3 repliesview on HN

Wait nginx ran as root?


Replies

seba_dos1yesterday at 4:54 PM

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

show 1 reply
Apesyesterday at 5:16 PM

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

adamsb6yesterday at 5:20 PM

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

show 2 replies