From a4b3d53141c934ab847f07c4fd6d5b4082d92690 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Thu, 7 May 2026 22:23:40 +0100 Subject: [PATCH] Stop deleting system user on remove/purge This is widely considered bad practice, as the kernel recycles UIDs/GIDs. So any potential leftover file/directory can then become owned by the next user/group that gets added, with unpredictable consequences. --- debian/freedombox.postrm | 1 - 1 file changed, 1 deletion(-) diff --git a/debian/freedombox.postrm b/debian/freedombox.postrm index 244f5736e..6e535c19e 100755 --- a/debian/freedombox.postrm +++ b/debian/freedombox.postrm @@ -4,7 +4,6 @@ set -e case "$1" in purge) - deluser --system --quiet plinth || true rm -rf /var/lib/plinth # Remove legacy directory too