Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Jan 2002
    Posts
    222

    Default Changing Clients Packages

    Hi,

    Is there a quick and easy way to update multiple clients packages at once?

    I want to re-brand our packages and update all clients on each diffrent associated package.

    Kind Regards,

    Neil

  2. #2
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    And using WHM > Packages > Edit Packages doesn't work, because . . .?
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  3. #3
    Member
    Join Date
    Jan 2002
    Posts
    222

    Default

    Hi,

    It doesn't work because we have two identical packages with slight name diffrences and I want to change all users to have the one plan.

    I wanted to know if there was an easier and quicker way than doing it one by one in WHM!

    Kind Regards,

    Neil

  4. #4
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    The files that record the package names are in /var/cpanel/users. You could do a search and replace. The line you want to change says "PLAN=whatever".
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  5. #5
    Member
    Join Date
    Jan 2002
    Posts
    222

    Default

    Hi,

    Is there a quick way to search and replace all that have package x to show package z?

    Kind Regards,

    Neil

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    445

    Default

    You've already created the package? If so, you could do something like this:

    replace PLAN=planx PLAN=planz -- /var/cpanel/users/*

    That would replace all instances of planx with planz in the user files.
    Annette
    Hosting Matters, Inc.
    http://www.hostmatters.com

  7. #7
    Member
    Join Date
    Jan 2002
    Posts
    222

    Default

    Thanks all!

    off to try this now!

    Kind Regards,

    Neil

  8. #8
    Member
    Join Date
    Jan 2002
    Posts
    222

    Default

    Hi,

    I managed to mess up the package name line, think I'll just go and amend the few that are diffrent manually!

    Kind Regards,

    Neil

  9. #9
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    How did you mess it up? What did you do to it?

    If you have too many to do one by one with WHM, and you would like me to make the changes for you, PM me.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  10. #10
    Member
    Join Date
    Jan 2002
    Posts
    222

    Default

    Hi,

    My package names have spaces in them, I have just about rectified them now!

    It found PLAN=package x and replaced it with the last part of the plan name to change it too.

    That line now reads z x!?!

    Never mind, only have one more to fix!

    Kind Regards,

    Neil

  11. #11
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Good thing you didn't have several hundred to change.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  12. #12
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    445

    Default

    Ah, yes - that's why we recommend to our clients that they never create package names with spaces. Good thing it wasn't too terribly messy for you.
    Annette
    Hosting Matters, Inc.
    http://www.hostmatters.com

Similar Threads & Tags
Similar threads

  1. Disabling changing mailbox size by clients
    By Noordzee in forum New User Questions
    Replies: 1
    Last Post: 08-12-2011, 11:07 AM
  2. changing packages...
    By 4u123 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-29-2008, 04:10 PM
  3. Changing cPanel packages on multiple servers at the same time
    By Alfahosting in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-21-2007, 09:38 PM
  4. Changing hosting packages for all users
    By Curious Too in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-24-2002, 04:21 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube