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.

Create an account from SSH and specified IP address

Discussion in 'cPanel Developers' started by MiamiBoy, Sep 28, 2011.

  1. MiamiBoy

    MiamiBoy Registered

    Joined:
    Sep 28, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello,

    I am using /scripts/createacct from SSH to create a new account using this variables

    Code:
    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>
    my qustion is how i can use specified IP address [ i don't need random ip address ] because i see i can use Y or N only

    I tried


    Code:
    /scripts/createacct domain.com domain Aef3RDdXd 0 x3 [COLOR=#ff0000]111.111.111.111[/COLOR]
    Code:
    /scripts/createacct domain.com domain Aef3RDdXd 0 x3 [COLOR=#ff0000]y=111.111.111.111[/COLOR]

    All doesn't work for me? so does anyone have solution !!!!

    Thanks.
     
  2. kalid

    kalid Active Member

    Joined:
    Jul 26, 2011
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    > America/Mexico_City
    cPanel Access Level:
    Root Administrator
    Hello. "ip[y/n]" mean "Dedicated IP? Y(es) or N(o)", so you can't assign the IP that you want via createacct.
     
Loading...

Share This Page