Phaedrus phaedrus at
Mon Nov 8 14:48:52 CST 1999

> From: Douglas E. Miles <doug.miles at>
> Kevin Buettner wrote:
> > 
> > On Nov 8, 11:54am, Douglas E. Miles wrote:
> > 
> >     my $passwd = Expect->spawn("/usr/bin/passwd $username");
> > 

I don't know what sys you are running, or what expect is, but you may wish
to take a look at the passwd source code. I've had similar problems with
ftp taking a password from stdin in the past (had to use a .netrc). It
could well be security built into passwd, designed to frustrate people
writting scripts to make the system try lots of passwords. Just a guess.


More information about the Phoenix-pm mailing list