I'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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
