Panic after installing new kernel on CentOS 6
I just finished updating all of my CentOS 6 machines, resulting in a couple of machines (VMs) no longer booting: Kernel panic - not syncing: No init found. Try passing init= option to kernel. It...
View ArticleMaking Cobbler work with SElinux on CentOS / RHEL 6
By default, Cobbler will not work properly on a CentOS / RHEL 6 machine with SElinux enabled. The easy way out is to disable SElinux entirely, but I prefer to write a custom policy instead – it is not...
View ArticleControlling the Foscam FI8919W IP Camera
The Foscam FI8919W Pan-Tilt camera supports a number of preset locations, or Presets. The onboard web interface does not seem to offer a way to configure these presets – but there is another way! I...
View ArticleWorkaround for Nagios check_disk failure in RHEL / CentOS 6.2
After updating from EL 6.1 to 6.2, the Nagios “check_disk” plugin suddenly stopped working with “Permission denied” errors. This problem is related to the SElinux policy (you *are* running with SElinux...
View ArticlePNP4Nagios with SElinux on CentOS / RHEL 6
PNP4Nagios is commonly used to add performance graphs to a Nagios installation. For additional security, SElinux is enabled on the monitoring host. There is no standard SElinux policy for applications...
View ArticleWorkaround for Nagios check_linux_raid failure in RHEL / CentOS 6.2
I recently stumbled upon another Nagios plugin that no longer works with SELinux under RHEL / CentOS 6.2: check_linux_raid. Just like the check_disk plugin, it has the nagios_checkdisk_plugin_exec_t...
View ArticleSELinux context for website with FTP access
So, you have decided to leave SELinux enabled. Congratulations, you have just taken a major step in securing your Internet-facing system. Let’s say you are hosting a website that needs to be updated...
View ArticleSending SMS notifications with Gnokii on CentOS 6
I had a couple of Huawei USB UMTS/HSPA sticks gathering dust, so I decided to use them for SMS notifications. Below is a quick set of notes I took during the experiment. Configuration My setup: CentOS...
View ArticleRunning the Archiveteam Warrior on ESXi
The Archiveteam Warrior is available for download as an OVA virtual appliance for use with VirtualBox, VMware Workstation/Player etc. To use this virtual appliance on VMware ESXi 5.1, you need to make...
View ArticleSELinux fix: allowing write to /var/lib/mod_security/
There’s a long-standing bug that prevents mod_security from writing to /var/lib/mod_security/. According to Red Hat Bugzilla this bug should been fixed around May 2013, but it still exists – on fully...
View Article
More Pages to Explore .....