[sork] Little problem with passwd / ssh

Guillaume Lapierre zeguigui at zeguigui.com
Thu Sep 4 17:13:06 PDT 2003


Hi there.

I just installed the accounts, forward and passwd modules on my
brand-updated horde install.
Everythings went smoothly except a slight change in registry.php (show
replaced with status => 'hidden|active').

Nevertheless I have a problem with passwd. I wish to update passwords using
ssh on localhost.
I modified passwd_expect script to match my passwd outputs.

Whenever I try to change the password I get a "connection refused" error.
I made a copy of the script, added a #!/usr/bin/expect -d and ran it from
command-line... and it worked! If I try to login as my test user I have to
provide the new password.

Does anyone know why it doesn't want to run from PHP?
Of course I ran my tests using the same user apache is running.

Thanks
Guillaume



More information about the sork mailing list