Date: Fri, 25 Jan 2002 00:26:32 +0300 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: Dag-Erling Smorgrav <des@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libpam/modules/pam_opieaccess pam_opieaccess.c Message-ID: <20020124212631.GA86757@nagual.pp.ru> In-Reply-To: <200201241618.g0OGIi276333@freefall.freebsd.org> References: <200201241618.g0OGIi276333@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 24, 2002 at 08:18:43 -0800, Dag-Erling Smorgrav wrote: > des 2002/01/24 08:18:43 PST > > Modified files: > lib/libpam/modules/pam_opieaccess pam_opieaccess.c > Log: > Correctly interpret PAM_RHOST being unset as an indicator of a local > login. if ((rhost == NULL || opieaccessfile(rhost)) This is not the way OPIE auth suppose. I.e. in non-PAM variant you may don't add local host to /etc/opieaccess file, but with this change you can't, it always there. IMHO proper way will be: if (rhost == NULL) rhost = "localhost"; opieaccess() automatically converts "localhost" to "127.0.0.1" and search it in /etc/opieaccess. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020124212631.GA86757>