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
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
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/
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
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".
Hi,
Is there a quick way to search and replace all that have package x to show package z?
Kind Regards,
Neil
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
Thanks all!
off to try this now!
Kind Regards,
Neil
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
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.
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
Good thing you didn't have several hundred to change.![]()
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