<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>wtmp – apt-upgrade.me – Homelab, Linux &amp; DevSecOps</title><link>https://www.apt-upgrade.me/tag/wtmp/</link><description>One nerd's homelab: Linux, Kubernetes, security, and the occasional disaster.</description><language>en-GB</language><lastBuildDate>Wed, 14 Oct 2026 20:00:00 +0200</lastBuildDate><atom:link href="https://www.apt-upgrade.me/tag/wtmp/index.xml" rel="self" type="application/rss+xml"/><item><title>A Mail for Every SSH Login: A Two-Minute Tripwire with wtmp and systemd</title><link>https://www.apt-upgrade.me/2026/10/14/ssh-login-alarm-wtmp-systemd/</link><pubDate>Wed, 14 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/14/ssh-login-alarm-wtmp-systemd/</guid><description>&lt;p&gt;&lt;em&gt;This is a follow-up to yesterday&amp;rsquo;s long post, &lt;a href="https://www.apt-upgrade.me/2026/10/13/defense-in-depth-nine-layers/"&gt;Defence in Depth: Nine Layers Between the Internet and My Servers&lt;/a&gt;. There, the login alarm got one sentence. Here is how it works, why it is built this way – and what an attacker learns from reading this.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Every SSH login on my servers sends me a mail within two minutes – a tripwire that stops nobody, but makes sure a break-in does not go unnoticed. It is built from wtmp and a systemd timer instead of a PAM hook, so it never blocks a login and stays quiet for automation. Plus the question of what an attacker learns from this post.&lt;/p&gt;</description></item></channel></rss>