A simple TCP server written in Perl
The below example is a very simple TCP server script written in Perl, which uses the AnyEvent module.It…
OpenSSH 6.2.x and LDAP authentication
Since the release of OpenSSH 6.2, two new configuration parameters have been added: AuthorizedKeysCommand AuthorizedKeysCommandUser These parameters allow…
Secure Password Generator in Perl
A secure and very random password generator module written in Perl.It can be used to generate passwords or…
PostgreSQL 9.2 Master – Slave Monitoring
Nagios plugin script written in Bash to check the master-slave replication in PostgreSQL (tested on PostgreSQL 9.2.4) (executed…
Recursive Inotify Daemon
There aren’t many Inotify daemons available that can work recursive and offer a descent flexibility regarding Inotify signals.…
Backup to free Hetzner FTP
If you have a hosting account at Hetzner with free backup space, you can not access this backup…
Below is a small Perl example how to check for NFS mounted shares on a Linux host. The…
Changing file permissions in Perl
There are definetly a few modules on CPAN which will allow to easily change file permissions in Perl,…
Secure MySQL Backups with GnuPG
One way to secure your MySQL backups, is to encrypt the backup file using PGP/GnuPG. Of course you…
Resize a LVM partition in a Debian VMWare VM
It can happen that a VMWare virtual machine (VM) runs out of space after a certain amount of…