Welcome! Log In Create A New Profile

Advanced

Re: Why "user" directive is not effective for master process?

December 16, 2010 12:36AM
On Thu, 2010-12-16 at 06:26 +0300, Maxim Dounin wrote:

> If you want master to be non-root you are free to start it as
> normal user. Though you may need some OS tuning to allow it to bind
> to privileged ports in this case (not sure if Linux will be able
> to do this securely).

setcap 'cap_net_bind_service=+ep' /usr/bin/nginx

http://www.kernel.org/doc/man-pages/online/pages/man7/capabilities.7.html

Only works on kernels >= 2.6.24

Cliff

--
Cliff Wells <cliff@develix.com>


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Why "user" directive is not effective for master process?

speedfirst December 15, 2010 09:12PM

Re: Why "user" directive is not effective for master process?

Maxim Dounin December 15, 2010 10:30PM

Re: Why "user" directive is not effective for master process?

Cliff Wells December 16, 2010 12:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready