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.

Remove Package Options

Discussion in 'General Discussion' started by Arhineus, Jun 11, 2007.

  1. Arhineus

    Arhineus Well-Known Member

    Joined:
    Nov 1, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Is there a way to change the "Dedicated IP" option for a package, from "yes" to "no" without deleting the package?
     
  2. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    I'd like to know as well. IF anyone knows, please tell us
     
  3. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
  4. Arhineus

    Arhineus Well-Known Member

    Joined:
    Nov 1, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Alternatively, I did it like this.

    Step 1: Create a new package named "temp".
    Step 2: Run the command below via shell. Replace "package1" with the source package name.

    # perl -pi.bak -e "s/package1/temp/g" /var/cpanel/users/*

    Step 3: Delete the original package.
    Step 4: Create the new package.
    Step 5: Run the command below via shell. Replace "package1" with destination package name.

    # perl -pi.bak -e "s/temp/package1/g" /var/cpanel/users/*

    Of course if you're only doing a single package and a single account this is a lot or work, but when working with multiple accounts it works quite nice.
     
Loading...

Share This Page