YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

More of a perl question... creating accounts... Options
xlittlemischief
#1 Posted : Monday, April 26, 2004 4:01:43 AM
Rank: Starting Member

Groups: Registered

Joined: 4/3/2004
Posts: 3
Location: ,
This is more of a generl perl question, but i'm useing it in a ipn script so I figured it was ok to post here :) What i'm doing is creating a ftp account after reciving payment. I'm useing pure-ftpd. this comes with a command to create accounts pure-pw. i'm running it in my script by doing $output = `pure-pw -u blah`; my problem is, when doing this command from a termenal, it then asks twice for the password. Password can not be passed via command line. so how do I "type" this in from my cgi script?
Sponsor  
 
PayPal_Dave
#2 Posted : Tuesday, May 04, 2004 12:37:40 PM
Rank: Starting Member

Groups: Registered

Joined: 2/13/2004
Posts: 109
Location: ,
Have a look at the "Expect" module. You can find it on CPAN.

Dave Burchell
PayPal Technical Support
PayPal, an eBay company
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.197 seconds.