[horde] passwd

Steven Stern subscribed-lists at sterndata.com
Tue Jul 6 16:08:25 PDT 2004


Need some help with passwd.


I've installed the stable version of passwd, with the expect backend.
Password changes fail.

The backend configuration is

$backends['expect'] = array(
    'name' => 'Password Change Script',
    'preferred' => 'true',
    'password policy' => array(),
    'driver' => 'expect',
    'params' => array(
        'program' => '/usr/bin/expect',
        'script' => 'scripts/passwd_expect',
        'params' => '-ssh -host localhost -output /tmp/passwd.log'
    )

expect is in /usr/bin

The log file is 

# cat passwd.log
expect: spawn id exp16 not open
    while executing
"expect -nobrace -re (P|p)assword.* {sleep .5
                        send $password(old)\r} timeout {puts $err "Could not
login to system (no password..."
    invoked from within
"expect {
  -re $password_string {sleep .5
                        send $password(old)\r}
  timeout              {puts $err "Could not login to system ..."
    (file "scripts/passwd_expect" line 165)

--
   Steve
   



More information about the horde mailing list