From 184fefd418892eb2ddad6e48ee1be11ea6b55172 Mon Sep 17 00:00:00 2001 From: Vincent Blut Date: Thu, 6 Apr 2023 17:43:46 +0200 Subject: d/postinst: Do not pass '--force-badname' to adduser command The default settings for SYS_NAME_REGEX allow system usernames to start with an underscore. --- debian/postinst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/postinst b/debian/postinst index 8a00a77..17b6f45 100644 --- a/debian/postinst +++ b/debian/postinst @@ -11,8 +11,7 @@ set -e case "$1" in configure) - adduser --force-badname \ - --system \ + adduser --system \ --group \ --quiet \ --gecos "Chrony daemon" \ -- cgit v1.2.3