Change All Packages Themes in cPanel/WHM
Have you ever wanted to change all users’ package themes/skins from Tree to Xskin server wide without going through each package one at a time? We have a quick tutorial on how to change all user package themes in Cpanel.
First off you will need to have root access to your server, login as root then do the following:
1) Change directories
2) A look in a package file, list contents of directory
ls for the directory contents then type pico packagename
You should see something like this:
What we’re interested in changing is the CPMOD value.
3) Changing the user package
The first is the theme you want to change from, the latter is the theme you want to change to. In this case we want to change Tree skin to x2 skin on all user packages as some of our resellers are using an older skin in their packages.
replace CPMOD=tree CPMOD=x2 -- *
4) Make sure that the changes have taken effect by opening one or two of the package files.
Then ctrl+w to search: type in CPMOD
You should see the new Cpanel theme value for CPMOD.
Noch kein BEK Kunde?Konto erstellen Passwort erinnerung