Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Passing vars to command

by trs80 (Priest)
on Sep 30, 2002 at 21:18 UTC ( #201849=note: print w/replies, xml ) Need Help??


in reply to Passing vars to command

Your single quotes are making it send $password not the value of $password, try this instead.
if(system('/usr/local/bin/AddVirtUser',"tpasswd=$password", $domain, $username, $fullname, '500', '1','1','1' )){

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://201849]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2020-07-06 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?