Cpanel theme does reset itself

feanor

Well-Known Member
Aug 13, 2001
835
0
316
It\'s true, this does appear to occur on all our machines as well. I have a perl script that does a search/replace periodically, after the lovely cpanel updater runs. You might want to look into that, *OR* just make all the files in /var/cpanel/users immutable with \"chattr +i /var/cpanel/users/*\" ... you\'ll have to UNset that to edit the profiles in the future, but it will prevent the themes from being reset.

If you have any questions about this let me know!
Good luck.
 

Brownie

Well-Known Member
Aug 10, 2001
143
0
316
[quote:5874638e51]It\'s true, this does appear to occur on all our machines as well. I have a perl script that does a search/replace periodically, after the lovely cpanel updater runs. You might want to look into that, *OR* just make all the files in /var/cpanel/users immutable with \"chattr +i /var/cpanel/users/*\" ... you\'ll have to UNset that to edit the profiles in the future, but it will prevent the themes from being reset.

If you have any questions about this let me know!
Good luck.[/quote:5874638e51]

I dont think thats what Domenico meant ;)

Domenico, SSH into your server and type:

cd /usr/local/cpanel/base/frontend/
chattr +i themename

If you are editing the theme called default, themename is default, otherwise iconic etc


;)