From owner-cvs-all Tue Feb 5 14:40:58 2002 Delivered-To: cvs-all@freebsd.org Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id E59BA37B427; Tue, 5 Feb 2002 14:40:50 -0800 (PST) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.11.6/8.11.6) with UUCP id g15Meoh34914; Tue, 5 Feb 2002 22:40:50 GMT (envelope-from mark@grondar.za) Received: from greenpeace.grondar.org (greenpeace [192.168.42.2]) by gratis.grondar.org (Postfix) with ESMTP id 11AD444D; Tue, 5 Feb 2002 22:35:44 +0000 (GMT) Received: from grondar.za (localhost [127.0.0.1]) by greenpeace.grondar.org (8.11.6/8.11.6) with ESMTP id g15MZYs33989; Tue, 5 Feb 2002 22:35:34 GMT (envelope-from mark@grondar.za) Message-Id: <200202052235.g15MZYs33989@greenpeace.grondar.org> To: "Andrey A. Chernov" Cc: des@freebgsd.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libpam/modules/pam_unix pam_unix.c References: <20020205220620.GD8579@nagual.pp.ru> In-Reply-To: <20020205220620.GD8579@nagual.pp.ru> ; from "Andrey A. Chernov" "Wed, 06 Feb 2002 01:06:20 +0300." Date: Tue, 05 Feb 2002 22:35:29 +0000 From: Mark Murray Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Tue, Feb 05, 2002 at 21:58:25 +0000, Mark Murray wrote: > > > > Why is your program doing user stuff before it has authenticated? > > > > _After_ PAM, the user is free to srandom() ans much as he likes. > > I see no rule in PAM docs that program can't do anything it wants (like > initializing some tables f.e.) _before_ PAM. Yes, and as soon as he needs predictable pseudo-random numbers, he calls srandom(). No problem. In my opinion, your program was a god example of how _not_ to do it. :-) 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 cvs-all" in the body of the message