[sork] Re: Re: expect and passwd

lody at great2cu.net lody at great2cu.net
Sun Feb 23 20:07:08 PST 2003


You were absolutely right. Somehow I didn't have the -output option enabled. 
Adding the -d option to expect gives the troubleshoot details 
in /tmp/passwd.log.

Indeed a good idea to add some comments in passwd_expect.

Thanks again,

Lody

Quoting Jeroen Huinink <j.huinink at wanadoo.nl>:

> <lody at great2cu.net> wrote:
> > Forgot to mention that for debugging purposes I had to change the option
> in
> > passwd_expect to read from the command line
> 
> Did you set the program parameter in the backend configuration?
> 
> $backends['expect'] = array(
> /* Stuff deleted */
>     'driver' => 'expect',
>     'params' => array(
>         'program' => '/usr/bin/expect',
>         'script' => 'scripts/passwd_expect',
>         'params' => '-telnet -host localhost -output /tmp/passwd.log'
>     )
> );
> 
> Regards,
> Jeroen
> 
> 
> 
> -- 
> Sork mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sork-unsubscribe at lists.horde.org
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


More information about the sork mailing list