perl script
am 07.08.2004 00:13:59 von Dave PomeoryI'm tring to help a friend that has to put about 250 students in his samba box
every year. I'm trying to write a perl script that uses Expect to inter the
passwords in the OS, Linux. I spawned Expect->(passwd $password);
then Expect "password:". However, I get a syntax error when I try to do that.
Anyone with any suggestions. It seems I just don't have the receive syntax
down. I'm also having a hard time finding much documentation, examples for the
Expect module.
Thanks in ADvance.
Dave Pomeroy
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs