2026-06-05
I run a few services on the public internet, and like everyone else who does, my logs are a constant wall of opportunistic scanners hammering the mail and SSH ports. None of it gets in (the real auth holds), but the noise makes it harder to spot anything that...
Read more
2024-06-20
Simple and easily disabled (User can kill the processes) More complex, but user won't be able to stop it Add this line to your pam configuartion for whatever service you'd like to track (All users). Also, the auditd service needs to be running. Or, disable it...
Read more
2024-05-09
Fix a file that won't seek on Plex Convert a file to x265 and your default audio codec (libvorbis if it's installed) Convert a file to x265 leaving audio the same codec
Read more
2022-08-19
Update 2023-06-23 - This works without stunnel if you can get bind 9.19! I was looking to do DNS over TLS for my home environment, but I wanted to run the endpoints on cloud servers that I don't want others to use. My home IP changes very frequently and so I...
Read more
2022-06-03
I am migrating my environment from oVirt to Proxmox and wanted to convert my disks to qcow2. First, shut down the VM you are wanting to migrate. In the oVirt Virtualization Manager go to Storage -> Disks and find the disk(s) associated with the VM you want to...
Read more
2022-05-06
If you've tried to delete a namespace but it hangs around forever you can delete it with a little work. I've provided a script at the end to do this. A stuck namespace will look like this: First, get the stuck namespace information Open the file with your...
Read more
2022-05-04
Upload the certificates to the config map and get the key hash. Output should look like: The output will be like this: Take that output and add the following parameters. If you are running Kuberentes 1.24 or just not using Docker you may need to add a command...
Read more
2021-01-07
Kubernetes is deprecating using docker as a runtime as of 1.24 A little background : I have a Kubernetes cluster with the masters running on Raspberry Pis running Raspbian and the workers on Intel NUCs running CentOS 7. --------You can ignore this section if...
Read more
2020-11-18
In order to run a manual command against etcd running inside the K8S cluster you have to pass a few flags Be very careful with this as you can really mess things up Get the members of the etcd cluster Should get you output like: You can then remove a specific...
Read more
2018-03-10
In order to specify the UEFI boot parameters in a UCS boot policy you need to be using one of the following disk types SAN LUN iSCSI LUN Local LUN In this example we will be booting to a RedHat Virtualization Host (RHVH) in UEFI mode with SAN boot Configure a...
Read more
2015-06-11
Do base 10 arithmetic in bash instead of octal Remove leading zeros in bash Find processes & threads for users (useful if running into nproc limits) Show threads per process for user bob Delete files when rm/bash says too many arguments No xargs Using xargs...
Read more
2014-12-15
There doesn't seem to be a way to install LVM directly to a raw device in the CentOS/RedHat installer. With a little bit of custom kickstart we can make it do it. This assumes you have two drives connected to your system, one for boot and one for the system...
Read more
2014-11-24
Pre-requisites Make sure the hostname of the system is set correctly and all firewalls and selinux are disabled (Or configured for the ports specified at the bottom) Install the packages pam-devel is necessary if you want to build libnss_winbind.so.2 and use...
Read more