Hi Maddy,

Op 4-2-2016 om 13:31 schreef smsmaddy1981:
> [gvp@alt-cti03 (TEST1) /var/gvp/Nginx/nginx-1.8.0/sbin] ./nginx
> nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
You edited the sudoers file to allow gvp to run programs as root.
In order to do so, you have to put "sudo" in front of the command, which
stands for "do as super user".

In this case, your line would've been instead:

[gvp@alt-cti03 (TEST1) /var/gvp/Nginx/nginx-1.8.0/sbin] sudo ./nginx

As a side-note, allowing every single program to be run as superuser
without the necessity of a password can pose a big security threat if
your account is ever compromised.

Kind regards,

Daniël

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

Reply via email to