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.

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:
    27
    Likes Received:
    1
    Trophy Points:
    3
    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.
     
    #1 mywhm, Jun 23, 2014
    Last edited: Jun 23, 2014
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page