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.

Removing a package

Discussion in 'General Discussion' started by apc1, May 19, 2006.

  1. apc1

    apc1 Well-Known Member

    Joined:
    Oct 18, 2004
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    How can I remove a package from accounts currently with a package allocated so that listing accounts or reseller accounts lists it as "undefined"?


    Thanks
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Do a search and replace in /var/cpanel/users/account and replace whatever plan they're using with undefined like this:

    replace "PLAN=oldplan" "PLAN=undefined" -- /var/cpanel/users/*
     
Loading...

Share This Page