public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* perl script
@ 2004-08-06 22:13 dave
  0 siblings, 0 replies; only message in thread
From: dave @ 2004-08-06 22:13 UTC (permalink / raw)
  To: linux-newbie

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 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-06 22:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-06 22:13 perl script dave

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox