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!

Share on Facebook0Share on Google+0Tweet about this on TwitterShare on StumbleUpon0Share on LinkedIn0Share on Tumblr0Pin on Pinterest0Email this to someonePrint this page

About Abhijit Sandhan

Abhijit Sandhan

Loves Linux, Blogging, Traveling, Hiking and sharing Knowledge!

Leave a Reply

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