Summary | spawn id exp15 not open |
Queue | Passwd |
Queue Version | 3.0.1 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | samuel.wolf (at) wolf-maschinenbau (dot) de |
Created | 01/09/2009 (6057 days ago) |
Due | |
Updated | 01/11/2009 (6055 days ago) |
Assigned | |
Resolved | 01/11/2009 (6055 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Must change in ./passwd/config/backends.php
$backends['expect'] = array(
'name' => 'Example Expect Script',
...
'params' => '-ssh -host localhost -output /tmp/passwd.log'
)
);
It was:
'params' => '-telnet -host localhost -output /tmp/passwd.log'
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ spawn id exp15 not open
Queue ⇒ Passwd
Milestone ⇒
Patch ⇒ No
On the shell works fine with:
expect passwd_expect
username
old_pw
new_pw
But dont work over Horde/Browser!
I get following error in passwd.log
root@server1:/tmp# cat passwd.log
expect: spawn id exp15 not open
while executing
"expect -nobrace -re {The authenticity of host.* can't be established.*
RSA key fingerprint is.*
Are you sure you want to continue connecting.*} {sleep..."
invoked from within
"expect {
-re $fingerprint_string {sleep .5
send yes\r
exp_continue}
-re $password_string ..."
(file
"/var/www/https/horde/passwd/config/../scripts/passwd_expect" line 175)
root@server1:/tmp#