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!

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:
    51
    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:
    56
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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