[sork] problems with 'passwd' and expect Driver

Eric Rostetter eric.rostetter at physics.utexas.edu
Wed Mar 12 17:16:01 PST 2003


Quoting "Shane Y. Gibson" <shane at tuna.org>:

> I've installed passwd 2.2 on a relatively virgin Horde 2.2.1 and IMP 3.2
> install.  I'm trying to use the expect driver - across SSH to change
> passwords.  I modified some of the strings as my *Nix systems 'passwd'
> program is slightly different.  I changed the scripts/passwd_expect
> script to work via command line input - and successfully ran the script
> to change a password (eg "exect -d ./scripts/passwd_expect USER OLD NEW").

See the list archives for a recent discussion on how to debug the
expect scripts.

> However, when I try to use the 'passwd' web interface - anytime I try
> and change a password, it automatically kicks me out to the Horde/IMP
> login page, without changing the password.  If I log in again, it takes
> me straight to the "passwd" dialog ... 

That shouldn't happen.  It seems to think you are not logged in for some
reason.

> I can hit "logout", login again,
> then it'll actually take me to my "inbox".

That is normal.

> Any thoughts?  I tried to enable debugging and dumping that output to
> the /tmp/passwd.log file, but that doesn't seem to be working well.  I'm
> running this on a Redhat Linux 8.0/Apache 2.0.40/PHP 4.2.2 system.
> 
> I searched through the mailing list archives, but couldn't find anything
> that was related.

Good luck.  Sorry I can't help more (at least at this time).

> TIA.
> 
> v/r
> Shane

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the sork mailing list