On Sat, Nov 25, 2000 at 01:13:16PM -0200, Cleiton Luiz Siqueira wrote:
> I know that qmail-popup is a responsible program to get username and password
> from the network and after  it gets it  runs a sub-program (checkpassword) to
> check username and password and set the environment variables.
> I have three questions about it:
> How does qmail-popup get the username and password from the network?
> How does qmail-popup send to sub-program (checkpassword) the
> informations about username and password?
> More specifically what is the format of the data sent to this
> sub-program (checkpassword)?

Read the qmail-popup man page. It answers all these questions.

> I have the checkpassword program done, but I would like you to help me about
> understanding what the program does. If someone could help about my
> checkpassword program I would thank.
> 
> This is my checkpassword program:
> 
> The most important line that I'd like to figure out is about how it gets from
> the qmail-popup the informations about username and password, how it gets to
> split this information and what means the lines started with $ENV.  If it
> gets from the standart input, where is it? In the expression "<&=3"?

It reads it from file descriptor 3, as the qmail-popup man page will tell you.

Chris

Reply via email to