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!

Save a specific package with command line - XML File

Discussion in 'General Discussion' started by mywhm, Jun 23, 2014.

  1. mywhm

    mywhm Active Member

    Joined:
    Jan 15, 2014
    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hello. I create an account with this command:

    Code:
    yes | /scripts/createacct domain.com userdomain pass
    I have a package already created, but I want back save that package with command line in console.

    Example: mypackage
    back save: mypackage by console

    ¿ how could I do it with command line console ?

    About Xml, there any way to change the values ​​of package creation See this image:
    package.jpg
    As default is unlimited. I would like to change that option, this could change according to my preferences, so each time I create a package I'll see my preferences, in the cms This I can do editing the XML files.

    ¿In cpanel is same?

    Thank You.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 mywhm, Jun 23, 2014
    Last edited: Jun 23, 2014
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    834
    Likes Received:
    29
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    In addition to the previous post, you can also modify the "PLAN=" entry in the "/var/cpanel/users/$username" file if you need to change the package assigned to the account. Remember to run the following command after manually modifying that file:

    Code:
    /usr/local/cpanel/scripts/updateuserdomains
    Thank you.
     
    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