From owner-freebsd-current Sun Jan 20 12: 9:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id 657CD37B400; Sun, 20 Jan 2002 12:09:38 -0800 (PST) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.11.6/8.11.6) with UUCP id g0KK9T889963; Sun, 20 Jan 2002 20:09:29 GMT (envelope-from mark@grondar.za) Received: from grondar.za (mark@localhost [127.0.0.1]) by grimreaper.grondar.org (8.11.6/8.11.6) with ESMTP id g0KK6Wt32931; Sun, 20 Jan 2002 20:06:32 GMT (envelope-from mark@grondar.za) Message-Id: <200201202006.g0KK6Wt32931@grimreaper.grondar.org> To: "Andrey A. Chernov" Cc: des@freebsd.org, current@freebsd.org Subject: Re: Step2, pam_unix just expired pass fix for review References: <20020120195737.GB24138@nagual.pp.ru> In-Reply-To: <20020120195737.GB24138@nagual.pp.ru> ; from "Andrey A. Chernov" "Sun, 20 Jan 2002 22:57:37 +0300." Date: Sun, 20 Jan 2002 20:06:32 +0000 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Sun, Jan 20, 2002 at 19:47:55 +0000, Mark Murray wrote: > > > > Do you mean that at at the very edge of password expiry, the user may > > still be able log in (maybe some seconds later)? If so this is not a > > credible threat. > > Yes. Few seconds can be few hours or more in case network is down or > something like, this mainly for network passwords like NIS. This is still not something that is pam_authenticate()'s business. If you believe that this is a problem, then the order and time in which these are done inside pam needs to be addressed, not by kluging pam modules. Perhaps the PAM-using applications need to be looked at as well to make sure they don't do anything silly. pam_authenticate() answers the question "does the user have the correct credentials?". pam_acct_mgmt() answers the question "OK - they are who they say they are. Are they allowed in _now_?". M -- o Mark Murray \_ FreeBSD Services Limited O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message