[sork] passwd expect problem

TPSA robert1b at poczta.onet.pl
Fri Jun 17 02:53:42 PDT 2005


I use telnet.
Problem is also with logging. I set output to true and set logs but they are 
always empty.
When I use passwd_expect script from command prompt is no problem script is 
working.

Robert

"Wang, Yu" <ywang at unf.edu> wrote in message 
news:A43AC87F71561043893E768CB43E3FD41C09FCE0 at LYNX.unfcsd.unf.edu...
> You may need to add/remove some line in the expect script to make it work 
> for your system. I use it to call ssh and then passwd. I noticed the 
> default script doesn't handle the first time key exchange prompt (...are 
> you sure you want to connect? kinda prompt) and key changed warning 
> prompt.
>
> To turn on log, you need: set output true. Also make sure file permission 
> is right.
>
> I also added date, time, client ip address, etc info logging.
>
> Hope this helps.
>
> Yu
>
>
>> -----Original Message-----
>> From: sork-bounces at lists.horde.org
>> [mailto:sork-bounces at lists.horde.org]On Behalf Of Robert Brzozowski
>> Sent: Thursday, June 16, 2005 5:44 AM
>> To: sork at lists.horde.org
>> Subject: [sork] passwd expect problem
>>
>>
>> In my horde installation 3.0.4 I install Passwd from CVS.
>>
>> I configure and it seems be OK configuration.
>>
>> >From backend.php file I comment all configurations except EXPECT.
>>
>> When I try to change password I receive
>>
>> "Failure in changing password on Example expect script: Could
>> not login to
>> system (no password prompt)"
>>
>>
>>
>> Log password.log is empty.
>>
>> After some small change in passwd_expect script (to get input
>> from command
>> line) I can run it from command line without any problem.
>>
>>
>>
>> Where is the problem ?
>>
>> I use MDK10.0.
>>
>>
>>
>> Robert
>>
>> -- 
>> Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: sork-unsubscribe at lists.horde.org
>>
>>
>
> -- 
> Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sork-unsubscribe at lists.horde.org
> 





More information about the sork mailing list