Apr 3 2015

Anacron run-parts: /etc/cron.daily/amavisd-new exited with return code 1.

Messages like the ones in the article list, originated from a cron job, could be generated on debian systems:

Please run this cronjob as user amavis
run-parts: /etc/cron.daily/amavisd-new exited with return code 1

Continue reading

Dec 11 2014

Extracting a Single Database From a mysqldump File containing –all-databases Dump.

Imagine to have a full MySQL DB Dump (containing a lot of Single Database Dumps) and imagine also to need the extraction or restoration of a single one. This is a quite common task that can be accomplished using some shell commands.
Continue reading

Oct 3 2014

Protect Servers Against Shellshock Bash Vulnerability.

On September 24, 2014, a GNU Bash vulnerability (Shellshock or “Bash Bug”), was discovered and published.
The vulnerability allows remote attackers to execute arbitrary code given specific conditions, by injecting strings of code following environment variable assignments.
Because of Bash’s large utilization (Ex: Linux, BSD, OsX), many computers are vulnerable to Shellshock Bash Bug.
All unpatched Bash versions between 1.14 through 4.3 seems to be compromised.
Continue reading

Sep 26 2014

VirtualHost settings upgrading from Apache 2.2 to Apache 2.4.

Upgrading from Apache 2.2 to 2.4 is simply but some configuration updates are necessary, because a working Apache 2.2 VirtualHost setup will break silently when you upgrade to Apache 2.4.
A full and comprehensive guide to updating from Apache 2.2 to 2.4 is available in the apache.org website.
Continue reading

Sep 11 2014

SSH Authentication with PGP Keys.

PGP keys and SSH keys can share the same RSA algorithm and for this reason, with some little tuning it is possible to use a PGP SubKey to authenticate users into SSH Servers.
Continue reading