Home > Security > Scary Moment

Scary Moment

March 30, 2009 Posted by KP

When I was starting Apache after installed a new PHP module, I found that httpd.conf is 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.

Bookmark and Share


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

Leave a Comment









*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word




Categories

Archives

Links

  • Dedicated Servers
  • Meta