Date: Tue, 05 Feb 2002 22:35:29 +0000 From: Mark Murray <mark@grondar.za> To: "Andrey A. Chernov" <ache@nagual.pp.ru> 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 Message-ID: <200202052235.g15MZYs33989@greenpeace.grondar.org> In-Reply-To: <20020205220620.GD8579@nagual.pp.ru> ; from "Andrey A. Chernov" <ache@nagual.pp.ru> "Wed, 06 Feb 2002 01:06:20 %2B0300." References: <20020205220620.GD8579@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202052235.g15MZYs33989>