> smsmaddy1981 <[email protected]> [2016-02-04 00:03]:
>
> Requirement is to start NGinx other than root user
>
> 1) Added entry tp /etc/sudoers for specific user as below:
> gvp    ALL=(ALL) NOPASSWD: ALL
>
> 2) Tried starting NGinx as gvp user, below error thrown:
> nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
>

As user gvp, do you run

    sudo /etc/init.d/nginx start

or

         /etc/init.d/nginx start

?

The former works, at least for me.

-- 
Lukas Ruf       <http://www.lpr.ch> | Ad Personam
Consecom  <http://www.consecom.com> | Ad Laborem

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to