Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    Question [absolute newbie] Automate account/popbox creation using /scripts perl scripts ?

    Hi there

    I'm a unix/linux sysadmin with very little perl or cpanel experience, so please be gentle with me.

    I'm trying to work out how to automate creation of accounts and mailboxes using the perl scripts in /scripts, so that we can integrate into our registration process. I've had some limited success with creating an account using /scripts/wwwacct, HOWEVER it doesn't seem to be possible to specify a package name using this script. Can anyone advise how I do this please ?

    Many thanks
    Paul

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,718
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Regarding specifying a package, the package is passed in the plan parameter. Here's the syntax of /scripts/wwwacct in 11.25:

    Please use the this syntax
    wwwacct <domain> <user> <pass> <quota> <cpmod[advanced/?]> <ip[y/n]> <cgi[y/n]> <frontpage[y/n]> <maxftp> <maxsql> <maxpop> <maxlst> <maxsub> <bwlimit> <hasshell[y]/[n]> <owner> <plan> <maxpark> <maxaddon> <featurelist> <contactemail> <use_registered_nameservers> <language>
    If you prefer to use a pre-packaged automation solution, you may want to pursue one of the many billing automation solutions that work with cPanel/WHM. We have a list of these posted at: http://forums.cpanel.net/f77/third-p...hm-106785.html

  3. #3
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    Default

    Thanks for your reply I managed to work it out myself on Friday (package = plan, nice and obvious huh ?).

    Thanks again

    Quote Originally Posted by cPanelDavidG View Post
    Regarding specifying a package, the package is passed in the plan parameter. Here's the syntax of /scripts/wwwacct in 11.25:



    If you prefer to use a pre-packaged automation solution, you may want to pursue one of the many billing automation solutions that work with cPanel/WHM. We have a list of these posted at: http://forums.cpanel.net/f77/third-p...hm-106785.html

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 11-03-2010, 10:35 AM
  2. Is there any cpanel scripts to automate batch subdomain creation?
    By adoni in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-03-2010, 10:35 AM
  3. Account Creation Scripts
    By released in forum New User Questions
    Replies: 2
    Last Post: 03-08-2008, 02:19 AM
  4. detailed php account creation scripts
    By dululu in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 03-30-2005, 02:01 PM
  5. Auto Account creation scripts
    By ndj1022 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-28-2003, 01:01 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube