The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Automating setup?

Discussion in 'General Discussion' started by jerrypr, May 4, 2005.

  1. jerrypr

    jerrypr Active Member

    Joined:
    Jan 12, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Hi all,

    I'm trying to figure out a cpanel/WHM friendly way of creating accounts, databases
    and e-mail accounts from the command line. (Is there an API to do this?)

    I have figured out the account creation (mostly), so that it works and uses WHM
    scripts. I'm not sure on all of the params, but what I have now works (if anyone has
    pointers or clues that would be great).

    I have a script that creates a user that is cpanel friendly too. What I need is a
    cpanel friendly way to create a db, and the glue to link a db to a user.

    I have no idea on the e-mail stuff yet.

    Basically, one of our clients wants a reseller account where they will "stamp out"
    template sites, and then will modify to their client's taste.

    By cpanel friendly I mean, once the dust settles, the accounts are all ready for
    end-user management. (as an example, I have a hack that will create a db and
    link the user in, but the client doesn't see this linkage in cpanel)

    Thanks,
    J.
     
  2. digitard

    digitard Well-Known Member

    Joined:
    Aug 13, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Have you checked into WHMAutopilot? Its a bit more than what you want probably, but it does automate signups and account creation in WHM.
     
  3. jerrypr

    jerrypr Active Member

    Joined:
    Jan 12, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    :)
    I'm not looking for a billing type of tool, I'm looking for a command line driven thing. Something similar to what WHMAutopilot or ModernBill do, but with additional features.

    Does that make sense?

    Thanks,
    J.
     
  4. buglerroller

    buglerroller Registered

    Joined:
    May 24, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Ever find the answer you were lookign for?
     
  5. jerrypr

    jerrypr Active Member

    Joined:
    Jan 12, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Not 100%. I've found pieces that do some of what I'm looking for, but not
    the whole thing. I want to be able to tweak some of the parameters and load
    some templates up for certain sites.

    I'm stiching together a few packages right now, but once I get that working
    I'll either re-write the thing so it all hangs together or repackage all of it
    so that it makes sense.

    Were you looking for something like that?

    Thanks,
    J.
     
  6. buglerroller

    buglerroller Registered

    Joined:
    May 24, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Im using ModernBill and im looking for a way to auto create a few email accounts, db's and user settings on new domain. What billing system are you using?
     
  7. jerrypr

    jerrypr Active Member

    Joined:
    Jan 12, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    We're using MB too.

    Thanks,
    J.
     
  8. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
    Look at www.scripts.freemans-web.com cP Account Creator and checkout the forums mod area. The script is capable of creating email, MySQL user and databases, FTP, and sub-domains.
     
  9. jerrypr

    jerrypr Active Member

    Joined:
    Jan 12, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    This is cool. Do you know of anything that supports other things, like mail password changes,
    forwarders, and other features of cpanel?

    Thanks,
    J.
     
  10. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
    The script supports password changes. Forwards can be created using cPanels webmail interface located at http://yourdomain.tld:2095
     
Loading...

Share This Page