Change All User Themes in cPanel/WHM

Change All User Themes in cPanel/WHM

Summary:
Have you ever wanted to change all users’ themes/skins from Tree to Xskin server wide without going through each user account one at a time? We have a quick tutorial on how to change all user  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

cd /var/cpanel/users

 

2) A look in a users file, list contents of directory
ls for the directory contents then type

pico username (replacing username with an account name)
You should see something like this:

BWLIMIT=524288000
DNS=usersdomain.com
FEATURELIST=default
IP=yourIPhere
LANG=english
MAXADDON=0
MAXFTP=3
MAXLST=0
MAXPARK=0
MAXPOP=2
MAXQL=2
MAXSUB=0
OWNER=hosting
PLAN=SubWS
RS=x
STARTDATE=1085847520
SUSPENDTIME=1086171449

What we’re interested in changing is the RS value.

3) Changing the user theme
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 themes as some of our resellers are using an older skin.

replace RS=tree RS=x2 -- *

4) Make sure that the changes have taken effect by opening one or two of the user files.

pico username


Then ctrl+w to search: type in RS

You should see the new Cpanel theme.

Similar Articles : Change All Packages Themes cPanel/WHM, Change All User Themes cPanel/WHM, Official cPanel/WHM Newbies Guide, Updating Apache Using cPanel/WHM Easy Apache, Extended Exim Logging, Linux Apache ASP for cPanel/WHM, How to Hide Bind Version cPanel/WHM, Fix cPanel/WHM Quotas, Disabling Password Reset Option cPanel/WHM, Setting up Private Reseller Name Servers, Installing DrWEB antivirus cPanel/WHM Linux, Properly Reject Invalid Email, Securing /tmp partition, Force Secure Login cPanel/WHM SSL, Default Index cPanel/WHM, Modify Bandwidth Exceeded cPanel/WHM, Use Exiscan to Scan For Viruses, Fix Log Rotation Problems cPanel, Installing mod_bandwidth For the Ultimate in Apache Utilization Control, Linux Distributions, UNIX Flavors (Distributions), Installing and Configuring CSF Firewall