Scary Moment
March 30, 2009 Posted by KP
When I was restarting Apache after installed a new PHP module, I found that httpd.conf was missing, that was scary! I have absolutely no idea how this happened, the only possible reason is that I deleted it by accident.
I always switch to root account after login, it’s convenient, and I’m lazy. But, how could I delete such an important file? Maybe I need to use sudo from now on.
No related posts.
Filed Under: Security
October 28th, 2009 at 12:14 am
I don’t think sudo solves the problem completely. Better solution would be to set immutable bit on most important configuration files and backup regularly =)