in reply to
Running a remote passwd command.
I second the call for the
Expect
module. I've personally tackled the problem that you're trying to solve. passwd looks to have a real tty behind it for security reasons. Expect fakes that well enough.
thor
The only easy day was yesterday
Comment on
Re: Running a remote passwd command.
In Section
Seekers of Perl Wisdom