/usr/bin/crontab permissions are wrong. Please set to 4755

If you are receiving the error “/usr/bin/crontab permissions are wrong. Please set to 4755” when in the cron section of cPanel, the commands below may correct the error for Redhat/CentOS/Fedora servers. Log into the server via ssh or the console as root and run: PHP Code: yum -y install vixie-cron crontabs chmod 4755 /usr/bin/crontab 

How to track mail from PHP when run as nobody?

Problem: One of the biggest problems with shared hosting is that PHP runs as the web server user rather than the user assigned in the virtualhost (unless your running PHP as CGI). This is a huge problem because when a site is compromised and a attacker is using your server to spam it can be […]

Installing basic automatic protection from DoS and DDoS attacks to your server

DDoS-Deflate DDoS-Deflate is a couple of bash scripts, that is run every X minutes, analyze the total number of connections to your server from every IP address using netstats command and temporarily blacklist IPs, that have more than Y active connections to your server at the moment, script runs. Blacklisting is done using either iptables […]