Linux
AIDE
AIDE (Advanced Intrusion Detection Environment) is a file and directory integrity checker that compares the current hashes, permissions, and attributes of files …
Disk Errors
A collection of disk-related errors and their fixes. Block Size Mismatch WarningAfter writing an ISO to a flash drive, partitioning tools may complain: 1 …
Better Practices With Sudo
I work with a lot of different linux machines from embedded devices, to cloud servers and open stack hosts. For many of them I'm either the sole administrator …
Unbuffered Pipe Filters
I need to filter a live log stream for only relevant events and quickly hit an issue that I wasn't expecting. The grep in my pipe chain was waiting until it …
Dependency Prelink Issues
While running an aide check on one of my servers after updating it, I started seeing a large number of very concerning warning messages: /usr/sbin/prelink: …
Fast Hex to Decimal in Bash
I needed too turn some hexadecimal values into decimal in a bash script and found a real easy way too do it. The following is a very short bash script …
Using OpenWRT's Dnsmasq as a TFTP Server
I recently re-flashed my primary router to a newer version of OpenWRT and attempted to follow my own directions written in an earlier blog post to add PXE …
Modifying the Hosts File in a Docker Container
Before I describe the issue that I encountered, let me be very clear. This hack is potentially dangerous and should absolutely only be done in development …
Chain Loading Kernels
I've found several places where I needed to be able to update my kernels but for one reason or another can't update the kernel that gets booted initially. A …