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.

How would I automate importing non cpanel users

Discussion in 'General Discussion' started by Rebelscumelscum, May 31, 2005.

  1. Rebelscumelscum

    Rebelscumelscum Registered

    Joined:
    May 31, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I want to use cpanel, but I have 800 users on a non-cpanel machine. How would I go about automatically importing them and their Apache configurations, using same username/password?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Unless they're supported under the WHM transfer mechanism you're going to have to add accounts by hand into WHM and then upload the files into the appropriate directory.

    An alternative would be to use /scripts/wwwacct and write a wrapper script to call it to create a supplied username plus details and then script the restore of the web data into the appropriate directory for the user created.
     
Loading...

Share This Page