Removing write permission on home and public_html on Centos/Cpanel
Posted
by
user5858
on Server Fault
See other posts from Server Fault
or by user5858
Published on 2013-10-27T14:28:27Z
Indexed on
2013/10/27
15:53 UTC
Read the original article
Hit count: 265
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.
© Server Fault or respective owner