How to Change cPanel Theme via command line

If you need to change all cpanel account themes, you can use this command as root:

# replace RS=oldtheme RS=newtheme — /var/cpanel/users/*

This will change all the cpanel users theme, if you need to change only one account,

# cd /var/cpanel/users/
# vi user_account

and replace the “RS=” line

Leave a comment