How to change cPanel theme from command line

Share with all..

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 with all..

About Abhijit Sandhan

Loves Open Source, Blogging, Traveling, Hiking and sharing Knowledge!

Leave a Reply

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