change password bug..

kunal

Member
Aug 10, 2001
5
0
301
spawn /usr/bin/passwd
Changing password for host905
(current) UNIX password:
passwd: Authentication token manipulation error
expect: spawn id exp3 not open
while executing
&expect -nobrace {Bad password:*} { return } {*BAD PASSWORD*} { return } password: { sleep 1
send &$newpass\r&
}&
invoked from within
&expect {
&Bad password:*& { return }
&*BAD PASSWORD*& { return }
password: { sleep 1
send &$newpass\r&
}

}&
(file &/usr/local/cpanel/bin/chpass& line 30)


any fixes?