How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

March 31, 2008

Fix syslog with FC2

Filed under: Linux — Tags: , , — admin @ 2:20 pm

If you have Fedora Core 2, and recive mail from logrotate with

etc/cron.daily/logrotate:

error: error running postrotate script

(more…)

How-To: Mod_Security

Filed under: Linux — Tags: , , — admin @ 2:10 pm

Mod_Security
This guide is going to show you how to install and configure mod_security which will help protect your server from exploits that are passed though apache. Mod_security does this by inspecting the information sent in apache and filtering out all of the “bad” requests as determined by the set of rules specified in the httpd.conf.

(more…)

How-To: Secure your /tmp directories

Filed under: Linux — Tags: , , , — admin @ 2:09 pm

How-To: Secure your /tmp directories

Every system needs temporary folders that any user is able to read and write BUT these directories should not be able to execute programs or scripts. Though this will only protect you from somebody running the script directly it will help with a large portion of the automated rootkits and trojans that script kiddies use.

(more…)

« Newer Posts

Powered by WordPress