Skip to content

Agent installation

limdm-agent runs as a root service on every device (systemd, OpenRC on Alpine). Every release ships the agent package as .deb, .rpm, Arch package (.pkg.tar.zst) and .apk for amd64 and arm64, plus a tar.gz. The package contains

  • limdm-agent, the agent,
  • limdm, the command line for users (Command line for users),
  • limdm-desktop and /usr/lib/limdm/limdm-desktop-ui, the tray and the desktop app (Desktop app and tray),
  • the units limdm-agent.service, limdm-watchdog.service and limdm-watchdog.timer (or /etc/init.d/limdm-agent), the rollback script /usr/lib/limdm/limdm-watchdog.sh, the PAM profile for pam-auth-update, the XDG autostart entry, the systemd user unit limdm-desktop.service and the menu entries.

osquery is a hard dependency of the deb and rpm and comes from the official osquery repository. Arch and Alpine have no osquery package; the agent uses its native inventory there.

Dependencies

The packages depend on the tools the agent calls (osquery, systemd, util-linux, cryptsetup, iproute, procps, kmod, gnupg; on Arch also shadow and pacman-contrib, on Alpine OpenRC and the util-linux tools) and recommend the ones compliance remediation uses (firewall, audit, nftables, unattended upgrades, libpam-pwquality or dnf plugins). The agent does not rely on them being present: once a day it installs whatever is missing. Desktop tools are only suggested by the packages, so servers never get GTK: on devices with a desktop the agent installs zenity (kdialog on KDE Plasma), libnotify, dconf, Python with GTK 4 and libadwaita for the desktop app and, with a wlroots compositor, swayidle, and retries daily if that fails.

A declared setting or a remediation that needs a package installs it right when it applies: password quality installs libpwquality (Debian libpam-pwquality, SUSE pam_pwquality) and, on Arch and Alpine, adds pam_pwquality.so before the first password module of /etc/pam.d/system-auth or /etc/pam.d/base-password; auditd installs audit (Debian auditd); dconf settings install dconf; OpenVPN network profiles install the NetworkManager OpenVPN plugin; the firewall, time synchronisation, Flatpak and printers did so before. Mandatory access control (AppArmor, SELinux) is only reported: the agent installs nothing for it and never edits the kernel command line. The check detail lists the active kernel security modules, so a missing apparmor in lsm= shows.