cPanel WHMLinux

How to change cPanel theme from command line

cpanel logoMany a times you need to change or update cpanel theme which can be done from command line too.

Let us see how this can be achieved step by step.

To change cPanel theme via command line you should be login in the server with root credentials via SSH.

After that use the below command as root:

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

This will change all cPanel users theme.

To change theme only for one account,

# cd /var/cpanel/users/

# nano user_account

replace rhe "RS=" line

 If any feedback, queries are always welcome!

Abhijit Sandhan

Love to Automate, Blog, Travel, Hike & spread Knowledge!

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button