Subject: Re: BSD Authentication
To: None <>
From: Peter Seebach <>
List: current-users
Date: 08/29/2003 11:26:28
In message <>, 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.