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.

Creating an account manually

Discussion in 'General Discussion' started by mbd5882, Jul 8, 2006.

  1. mbd5882

    mbd5882 Well-Known Member

    Joined:
    Apr 30, 2005
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Manchester, United Kingdom
    cPanel Access Level:
    Root Administrator
    Hi,
    I need help with adding a new account manually. I need to add the domain fromfirsttolastfuckingrock.com to the system with ftp somehow.
    I would do it via whm but my friends card was declined by the datacentre and he is in the USA so cant do anything, untill then our cpanel licence is gone.
    Anyway i could do this manually via ssh or something via root? I would add it on our windows server but the dns confuses me.

    Thanks
     
  2. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    16
    I think /scripts/wwwacct should do it.

    Code:
    /scripts/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]>
    If not, a last resort would be to:
    use the unix command useradd to create a new user
    create a zone file in /var/named and restart named
    modify httpd.conf to add the new domain to point to /home/user/public_html and restart apache
    create an entry in /var/cpanel/users so it shows up in cPanel when you get it working
     
Loading...

Share This Page