Tag: Linux
All the articles with the tag "Linux".

polkit-error-quark
Updated:I caused myself a few hours of frustration today. I installed a new instance of Manjaro today, and it applied some Lynis security suggestions that I didn't

Fail2ban - PostgreSQL
Updated:We don't often have the need to expose PostgreSQL to a network, let alone the internet. Mostly the instances are enclosed within a Docker container set and

LINPEAS, PEASS
Updated:How to get an elevated privileged shell the easy way. https://github.com/carlospolop/PEASS-ng

Fail2ban with Gitea
Updated:I noticed a bot had decided to target our Gitea service, so thought of putting it into fail2ban to lock it down. Turned out this wasn't as straight forward

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

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