Removing write permission on home and public_html on Centos/Cpanel
- by user5858
I'm running sites on two Cpanel accounts on my VPS on WHM.
I'm using DSO php handler and Apache server on my Web server. After recent intrusion attacks I've chowned to root with permission 555 on $HOME and public_html folder. I'm on VPS with Cpanel on Centos.
I'm running CMS based software like Joomla Drupal etc.
Will this cause any problem to my VPS installation or server side processes? Drupal, Joomla, MyBB etc will not be affected by this. Some files will not be created like error_log.
At least hackers will not be able to place any malicious code within home folder or the public_html folder.