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

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

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

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

Holy Guacamole!
Apache Guacamole - not the answer I was looking for, but impressive. I wanted to get a remote desktop session to a client machine to support them in the se

sudo-ldap Fails to Authenticate
I mainly use two Linux distros - Manjaro and Debian (or Debian based distro Mint). For most remote workers, I rolled out Manjaro with caching authenticatio