Home > Security > Scary Moment

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

One Comment to “Scary Moment”

  1. Artem Daniliants Says:

    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 =)