Subject: Re: BSD Authentication
To: None <current-users@netbsd.org>
From: Peter Seebach <seebs@plethora.net>
List: current-users
Date: 08/29/2003 11:26:28
In message <20030829083738.51FF7A60D@zen.crufty.net>, Simon J. Gerraty writes:
>>Sure.  We can do that with, say, $ENV{"PAM_USER"} easily enough.

>Hmmm, now I'm confused.  How does BSD Auth frobbing its environment
>have anything to do with communicating data back to the parent process?
>I'm obviously missing a piece of the puzzle ;-)

One of the things you can send to stream #3, in addition to stuff like
"authenticate", is "setenv name value".  This causes the library code to
set the corresponding environment variable.

-s