Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Need to automate creation of 400+ account

Discussion in 'General Discussion' started by dochallam, Jun 8, 2007.

  1. dochallam

    dochallam Registered

    Joined:
    Sep 27, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    We are using cPanel/WHM to provide around 40 user accounts, each of which has an individual instance of the application Moodle. Moodle is installed via the Fantastico add-on to cPanel/WHM. We set the user accounts up and installed Moodle on each manually via the cP/WHM web interface - it took quite a while.

    We now have to create a further 400 accounts (again with Moodle), and it's not really practical to do this manually.

    Any suggestions on how we could automate this process? We're thinking along the lines of having the new usernames/passwords (and any other info required) in a flat file and passing this through a script to create everything neccessary. Trouble is, we don't know what those "neccessary" things are.

    Only way we can think of is to snapshot the cP/WHM server, create a single user, create a second snapshot and compare the two snapshots to see what files get added/changed.

    Anyone already done something similar, or can think of a better way?

    Thanks in advance,
    Lee
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice