Date: Wed, 22 Oct 2014 21:55:57 +0200 From: Eric Masson <emss@free.fr> To: Mailing List FreeBSD Questions <freebsd-questions@FreeBSD.org> Subject: NGINX, pam_unix.so & master.passwd Message-ID: <86oat36fqq.fsf@srvbsdfenssv.interne.associated-bears.org>
next in thread | raw e-mail | index | archive | help
Hi, I've set up NGINX with pam authentication using the following configuration : # # PAM configuration for the "nginx" service # # auth auth required pam_unix.so debug Authentication works fine if user directive in nginx.conf is set to root and fails if set to nobody (default). So, it seems that authentication is handled by worker processes, not delegated to master process. Is there any "clean" (*) way to solve this issue, or should I forget about using pam_unix.so to authenticate users, please ? Éric Masson * : NGINX using a least privileged account, no mess around master.passwd permissions -- C'est pas de la pub, juste un message à caractère informatif. Nous sommes partenaires Gold agréés OLEANE. Ils ne nous en voudront sûrement pas. Les $ ne sont là que pour permettre au message d'arriver en tête de liste -+- VG in: <http://www.le-gnu.net> - Pour une poignée de dollars -+-
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86oat36fqq.fsf>