Posts
All the articles I've posted.

SSSD and SUDOers
Updated:All our remote users are using LDAP cached credentials using SSSD. This works really well for users that transition online to offline, with one failing. Wh

IP Address RegEx
Searching for IP addresses in a file or files: grep -oE '((1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])\.){3}(1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])' file

ldapsearch and base64 decoding
Updated:I recently had to do an ldapsearch / ldbsearch that returned some base64 encoded results. $ sudo ldbsearch -H /var/lib/sss/db/cache_LDAP.ldb '(&(objectClas

Extracting Graphs from Grafana
Updated:The Grafana dashboards are a really nice interactive display of metrics. What we want to do is take those graphs from a dashboard and share them on a stati

Systemd Hardening
https://docs.arbitrary.ch/security/systemd.html

Ventoy - One Stick to Boot them All
Updated:I regularly end up writing a bootable USB to start a different version of Linux or different distro. Then I came across Ventoy . Once a USB stick is instal

Remote CUPS Server over SSH
Updated:Hosting a customer's web service for ERP systems means the hosted system has limited options of sending printable material to the end user. Usually it invo

Speed Up tar with pigz
Updated:The usual tar cvzf ... uses box standard gzip. A parallel implementation of gzip for modern multi-processor, multi-core machines https://zlib.net/pigz/ Swi

Git Hooks
Updated:I wanted to ensure I wasn't pushing unencrypted data onto our Git repo. It's set as private anyhow, but the repo I'm using is for our Ansible library. It c

journalctrl
Shortcuts to getting meaningful data from journalctrl Specific time frame journalctrl --since "18:00" --until "18:03" More descriptive times journalctrl --