Skip to content

Just another Linux geek

Linux, automation and open source

  • About
  • Articles
  • RSS

Just another Linux geek

Linux, automation and open source

  • About
  • Articles
  • RSS

Category: Security

System hardening, authentication, permissions, SELinux, firewalls, encryption, certificates and security vulnerabilities.

Two racks of servers at the Wikimedia Foundation data centre
20 February, 20213 November, 2026Containers, Fedora, Linux, Open source, Security

Rootless podman containers under system accounts, managed and enabled at boot with systemd

Run rootless Podman containers under dedicated system accounts and manage them as services that start at boot. This walkthrough covers account creation, subordinate user IDs, SELinux directory labels, lingering user sessions and generating a systemd service for the container.

Read more
31 January, 202131 October, 2026Containers, Linux, Open source, Security

Podman volumes and SELinux

In my previous post on volumes with podman, I touched on SELinux but I think it’s worthy of its own post to work through some details. If your host has SELinux enabled, then container processes are confined to the system_u:system_r:container_t:s0 domain. Volumes you pass to […]

Read more
26 January, 202131 October, 2026Containers, Linux, Open source, Security

User IDs and (rootless) containers with Podman

When a Linux container image is created, like any system it can have specific users, or maybe it only has root (uid 0). Containers have a specific entry point which runs the program the image was created for and this might run as any user […]

Read more
15 December, 201928 October, 2026Containers, Fedora, Home automation, Linux, Open source, Security

OwnTracks recorder in a container on Fedora with Let’s Encrypt and nginx

OwnTracks Recorder is a web application which maps locations over time. Generally, it connects to an MQTT server and subscribes to owntracks/+ topics for any location updates, but it also has a built in function to receive updates over HTTP. I have been using OwnTracks […]

Read more
10 June, 201928 October, 2026Ansible, Linux, Open source, OpenStack, Security

Securing Linux with Ansible

The Ansible Hardening role from the OpenStack project is a great way to secure Linux boxes in a reliable, repeatable and customisable manner. It was created by former colleague of mine Major Hayden and while it was spun out of OpenStack, it can be applied […]

Read more
22 April, 201928 October, 2026Fedora, Linux, Networking, Open source, Security

Pi-hole with DNS over TLS on Fedora

How to use Pi-hole with Stubby to provide both advertisement blocking and DNS over TLS. I’m using Fedora ARM server edition on a Raspberry Pi 3. Download Fedora Server ARM edition and write it to an SD card for the Raspberry Pi 3. Make sure […]

Read more
10 August, 201628 October, 2026Linux, Open source, Security

Command line password management with pass

Why use a password manager in the first place? Well, they make it easy to have strong, unique passwords for each of your accounts on every system you use (and that’s a good thing). For years I’ve stored my passwords in Firefox, because it’s convenient, […]

Read more
13 May, 201625 October, 2026Linux, Open source, Security

Signal Return Orientated Programming attacks

When a process is interrupted, the kernel suspends it and stores its state in a sigframe which is placed on the stack. The kernel then calls the appropriate signal handler code and after a sigreturn system call, reads the sigframe off the stack, restores state […]

Read more
12 May, 201627 October, 2026Fedora, Linux, Open source, Security, Storage

TRIM on LVM on LUKS on SSD, revisited

A few years ago I wrote about enabling trim on an SSD that was running with LVM on top of LUKS. Since then things have changed slightly, a few times. With Fedora 24 you no longer need to edit the /etc/crypttab file and rebuild your […]

Read more
22 February, 201627 October, 2026Linux, Open source, Security

Permanently setting SELinux context on files

I’m sure there are lots of howtos on the Internet for this, but… Say you are running a web server like nginx and your log files are in a non-standard location, you may have problems starting the service because SELinux is blocking nginx from reading […]

Read more

Posts pagination

1 2 3 >
© 2026 Just another Linux geek

Just another Linux geek

Linux, automation and open source

Close menu
  • About
  • Articles
  • RSS