Results 1 to 6 of 6

Thread: Mass therme change change for all hosting packages

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    52

    Default Mass therme change change for all hosting packages

    Hello,

    I want to change cpanel theme all hosting packages at one time.

    How can i do that.

    Please advise.

  2. #2
    Registered Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,052

    Default

    To change the cPanel theme for all the domain at once, try

    » Blog Archive » Howto: Change cPanel theme for multiple accounts.

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    52

    Default

    Hello,

    Its not working.

    Do you have any idea that how do i change cpanel theme all hosting packages inclueding reseller hosting packages alos at one time?

    Please advise

  4. #4
    Registered Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,052

    Default

    The following script should work for you. Execute each line as it is:

    for i in `ls -la /var/cpanel/users/ | awk ‘{print $9}’ | sed ‘1,3 d’`
    do
    sed -i “/RS/d” $i;
    echo “RS=x3" >> $i;
    done;
    Note: the single or double quotes may get replaced with dot (.) while copy/pasting it in shell, so make sure to correct those.

    This will replace the cPanel theme to x3 for all the domains on the server. If you want to make the changes for a specific reseller domains, you need to list the reseller domains in a file and then use it in the for loop.

  5. #5
    Registered User
    Join Date
    Sep 2008
    Posts
    52

    Default

    Hello,

    This scripts is also not working.

    Please advise.

  6. #6
    Registered User
    Join Date
    Sep 2008
    Posts
    52

    Default

    Hello,

    This script is working now.

    Thanks,

Similar Threads

  1. Mass TTL Change
    By michiana in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 07-26-2013, 01:45 PM
  2. mass change NS in all zones
    By dragon2611 in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 02-01-2010, 09:13 AM
  3. Mass change MX records?
    By BrooksBridges in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 10-29-2009, 04:21 AM
  4. Mass change subdomains?
    By Eli L in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 10-06-2009, 10:44 AM
  5. Mass Change Of IP's
    By n2972s in forum cPanel & WHM Discussions
    Replies: 13
    Last Post: 01-14-2006, 07:18 PM
bargain